Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009855/0.0009856, allocations: 91.22 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009372/0.009372, allocations: 171.5 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.735/1.735, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.875/1.875, allocations: 292.7 MB / 0.5502 GB, free: 14.51 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006064/0.0006063, allocations: 15.09 kB / 0.6743 GB, free: 25.86 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2887/0.2893, allocations: 116.3 MB / 0.7879 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.0008042/0.2901, allocations: 402.3 kB / 0.7883 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001424/0.2916, allocations: 1.197 MB / 0.7894 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.858e-05/0.2916, allocations: 3.938 kB / 0.7894 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.933e-05/0.2916, allocations: 3.938 kB / 0.7895 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.556e-05/0.2917, allocations: 15.91 kB / 0.7895 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006244/0.2923, allocations: 202.7 kB / 0.7897 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000158/0.2925, allocations: 147.8 kB / 0.7898 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.326e-05/0.2926, allocations: 8 kB / 0.7898 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.839e-05/0.2927, allocations: 59.88 kB / 0.7899 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.055e-05/0.2928, allocations: 47.88 kB / 0.7899 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.907e-05/0.2928, allocations: 11.94 kB / 0.7899 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.347e-05/0.2929, allocations: 23.98 kB / 0.7899 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.079e-05/0.2929, allocations: 11.92 kB / 0.79 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.856e-05/0.293, allocations: 69.59 kB / 0.79 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002033/0.2933, allocations: 151.8 kB / 0.7902 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2933, allocations: 0 / 0.7902 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.272e-06/0.2933, allocations: 0 / 0.7902 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.2933, allocations: 0 / 0.7902 GB, free: 9.254 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004623/0.2937, allocations: 402.8 kB / 0.7906 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.2938, allocations: 12.03 kB / 0.7906 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.976e-05/0.2939, allocations: 12.84 kB / 0.7906 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.294, allocations: 164.4 kB / 0.7907 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.197e-05/0.294, allocations: 8.375 kB / 0.7907 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.219e-05/0.2941, allocations: 8.375 kB / 0.7907 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001255/0.2942, allocations: 50.17 kB / 0.7908 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.232e-06/0.2942, allocations: 4.188 kB / 0.7908 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.2942, allocations: 3.938 kB / 0.7908 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.2942, allocations: 0 / 0.7908 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.173e-05/0.2943, allocations: 15.98 kB / 0.7908 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004658/0.2947, allocations: 356.7 kB / 0.7912 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.132e-05/0.2948, allocations: 38.45 kB / 0.7912 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.85e-05/0.2949, allocations: 16.94 kB / 0.7912 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.069e-05/0.2949, allocations: 3.984 kB / 0.7912 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001342/0.295, allocations: 91.36 kB / 0.7913 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/0.295, allocations: 0 / 0.7913 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0002588/0.2953, allocations: 105.5 kB / 0.7914 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.793e-05/0.2954, allocations: 59.41 kB / 0.7915 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.592e-05/0.2954, allocations: 117.8 kB / 0.7916 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.356e-05/0.2955, allocations: 33.69 kB / 0.7916 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.255e-05/0.2956, allocations: 99.98 kB / 0.7917 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.546e-05/0.2956, allocations: 11.89 kB / 0.7917 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.009e-05/0.2956, allocations: 33.7 kB / 0.7917 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.2958, allocations: 314.8 kB / 0.792 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001297/0.2959, allocations: 67.95 kB / 0.7921 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001395/0.296, allocations: 84.27 kB / 0.7922 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001913/0.2962, allocations: 167.6 kB / 0.7924 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.2963, allocations: 0 / 0.7924 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004049/0.2967, allocations: 256.8 kB / 0.7926 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.229e-05/0.2967, allocations: 67.39 kB / 0.7927 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.2967, allocations: 4 kB / 0.7927 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.2968, allocations: 3.938 kB / 0.7927 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.244e-05/0.2968, allocations: 8.125 kB / 0.7927 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.2968, allocations: 0 / 0.7927 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004579/0.2973, allocations: 81.95 kB / 0.7928 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.067e-05/0.2973, allocations: 11.98 kB / 0.7928 GB, free: 6.289 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,nor1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000115/0.2975, allocations: 126.2 kB / 0.7929 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.277e-05/0.2975, allocations: 4 kB / 0.7929 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.796e-05/0.2975, allocations: 12.36 kB / 0.7929 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.2975, allocations: 4 kB / 0.7929 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.2975, allocations: 0 / 0.7929 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.2975, allocations: 7.938 kB / 0.7929 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001337/0.2977, allocations: 177.5 kB / 0.7931 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.2977, allocations: 0 / 0.7931 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.105e-05/0.2977, allocations: 7.984 kB / 0.7931 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.2977, allocations: 0 / 0.7931 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/0.2977, allocations: 4 kB / 0.7931 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.2977, allocations: 0 / 0.7931 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2977, allocations: 0 / 0.7931 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001388/0.2979, allocations: 112.9 kB / 0.7932 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.435e-05/0.2979, allocations: 89.02 kB / 0.7933 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.431e-05/0.2979, allocations: 0 / 0.7933 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.126e-05/0.298, allocations: 4 kB / 0.7933 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.697e-05/0.298, allocations: 3.984 kB / 0.7933 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.298, allocations: 4 kB / 0.7933 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.893e-05/0.2981, allocations: 95.2 kB / 0.7934 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2981, allocations: 3.938 kB / 0.7934 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002332/0.2983, allocations: 32 kB / 0.7934 GB, free: 5.52 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,nor1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001588/0.2985, allocations: 111.2 kB / 0.7935 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003288/0.2988, allocations: 242.6 kB / 0.7938 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.2988, allocations: 0 / 0.7938 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.647e-05/0.2989, allocations: 23.98 kB / 0.7938 GB, free: 5.117 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002271/0.2991, allocations: 15.98 kB / 0.7938 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003284/0.2995, allocations: 183.5 kB / 0.794 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000244/0.2997, allocations: 0.6809 MB / 0.7946 GB, free: 4.184 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.45e-05/0.2997, allocations: 4 kB / 0.7946 GB, free: 4.18 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.985e-05/0.2998, allocations: 15.42 kB / 0.7947 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of SimCode: time 2.5e-07/0.2998, allocations: 0 / 0.7947 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of Templates: time 0.004367/0.3041, allocations: 1.755 MB / 0.7964 GB, free: 2.438 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) Environment - environmentSimulation: