Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.62/1.62, allocations: 288.4 MB / 304.3 MB, free: 8.086 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001071/0.001071, allocations: 180.5 kB / 373 MB, free: 10.13 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.689/1.689, allocations: 205.4 MB / 0.6317 GB, free: 9.875 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008081/0.0008081, allocations: 98.97 kB / 0.745 GB, free: 5.797 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004175/0.0004176, allocations: 17.95 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2193/0.2197, allocations: 115.3 MB / 0.9807 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.635/0.8547, allocations: 138.1 MB / 1.116 GB, free: 16.47 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001983/0.855, allocations: 64.08 kB / 1.116 GB, free: 16.47 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.007944/0.8629, allocations: 2.946 MB / 1.119 GB, free: 32.03 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.234e-06/0.863, allocations: 0 / 1.119 GB, free: 32.03 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.863, allocations: 0 / 1.119 GB, free: 32.03 MB / 0.698 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.0004084/0.8634, allocations: 406.1 kB / 1.119 GB, free: 31.6 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.8634, allocations: 11.66 kB / 1.119 GB, free: 31.6 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.86e-05/0.8635, allocations: 12.66 kB / 1.119 GB, free: 31.6 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000107/0.8636, allocations: 171.5 kB / 1.119 GB, free: 31.39 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.065e-05/0.8636, allocations: 8.094 kB / 1.119 GB, free: 31.39 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.093e-05/0.8637, allocations: 10.83 kB / 1.119 GB, free: 31.39 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001014/0.8638, allocations: 46.8 kB / 1.119 GB, free: 31.36 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.8638, allocations: 192 / 1.119 GB, free: 31.36 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.8638, allocations: 11.69 kB / 1.119 GB, free: 31.36 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.8638, allocations: 0 / 1.119 GB, free: 31.36 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.717e-05/0.8639, allocations: 14.88 kB / 1.119 GB, free: 31.35 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004293/0.8643, allocations: 361.7 kB / 1.12 GB, free: 31.08 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.551e-05/0.8644, allocations: 32.84 kB / 1.12 GB, free: 31.05 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.461e-05/0.8644, allocations: 16.39 kB / 1.12 GB, free: 31.05 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.088e-05/0.8644, allocations: 0 / 1.12 GB, free: 31.05 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001563/0.8646, allocations: 83.84 kB / 1.12 GB, free: 30.99 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.8646, allocations: 4 kB / 1.12 GB, free: 30.99 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0002104/0.8648, allocations: 101.2 kB / 1.12 GB, free: 30.95 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.468e-05/0.8649, allocations: 51.41 kB / 1.12 GB, free: 30.89 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.329e-05/0.865, allocations: 125.6 kB / 1.12 GB, free: 30.79 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.829e-05/0.865, allocations: 29.58 kB / 1.12 GB, free: 30.76 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.076e-05/0.8651, allocations: 94.33 kB / 1.12 GB, free: 30.68 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.283e-05/0.8651, allocations: 11.12 kB / 1.12 GB, free: 30.67 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.404e-05/0.8651, allocations: 3.844 kB / 1.12 GB, free: 30.67 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.8652, allocations: 328.5 kB / 1.12 GB, free: 30.35 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001093/0.8653, allocations: 57.52 kB / 1.12 GB, free: 30.35 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/0.8655, allocations: 93.64 kB / 1.121 GB, free: 30.31 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001565/0.8656, allocations: 157.1 kB / 1.121 GB, free: 30.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.8656, allocations: 480 / 1.121 GB, free: 30.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003367/0.866, allocations: 270 kB / 1.121 GB, free: 30.09 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.759e-05/0.866, allocations: 71 kB / 1.121 GB, free: 30.03 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.8661, allocations: 0 / 1.121 GB, free: 30.03 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.8661, allocations: 0 / 1.121 GB, free: 30.03 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.013e-05/0.8661, allocations: 7.594 kB / 1.121 GB, free: 30.02 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.8661, allocations: 2.578 kB / 1.121 GB, free: 30.02 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002897/0.8664, allocations: 77.33 kB / 1.121 GB, free: 30.02 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.615e-05/0.8664, allocations: 14.19 kB / 1.121 GB, free: 30.02 MB / 0.698 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,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,nor1.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.05e-05/0.8665, allocations: 126.4 kB / 1.121 GB, free: 29.89 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.177e-05/0.8666, allocations: 10.56 kB / 1.121 GB, free: 29.89 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.611e-05/0.8666, allocations: 7.812 kB / 1.121 GB, free: 29.89 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.8666, allocations: 0 / 1.121 GB, free: 29.89 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.8666, allocations: 3.781 kB / 1.121 GB, free: 29.89 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.8666, allocations: 0 / 1.121 GB, free: 29.89 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001084/0.8667, allocations: 182.2 kB / 1.121 GB, free: 29.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.8667, allocations: 0 / 1.121 GB, free: 29.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.684e-06/0.8667, allocations: 4 kB / 1.121 GB, free: 29.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.8668, allocations: 0 / 1.121 GB, free: 29.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.8668, allocations: 7.078 kB / 1.121 GB, free: 29.69 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.91e-07/0.8668, allocations: 3.75 kB / 1.121 GB, free: 29.69 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.8668, allocations: 0 / 1.121 GB, free: 29.69 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001129/0.8669, allocations: 107.8 kB / 1.122 GB, free: 29.62 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.108e-05/0.8669, allocations: 88.14 kB / 1.122 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.362e-05/0.867, allocations: 0 / 1.122 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.906e-05/0.867, allocations: 11.19 kB / 1.122 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.714e-05/0.867, allocations: 6.469 kB / 1.122 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.219e-06/0.867, allocations: 0 / 1.122 GB, free: 29.52 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.295e-05/0.8671, allocations: 89.38 kB / 1.122 GB, free: 29.44 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8671, allocations: 0 / 1.122 GB, free: 29.44 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002267/0.8673, allocations: 44.52 kB / 1.122 GB, free: 29.43 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001802/0.8675, allocations: 112.6 kB / 1.122 GB, free: 29.34 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002833/0.8678, allocations: 249.7 kB / 1.122 GB, free: 29.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.8678, allocations: 288 / 1.122 GB, free: 29.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.877e-05/0.8679, allocations: 31.69 kB / 1.122 GB, free: 29.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002023/0.8681, allocations: 17.16 kB / 1.122 GB, free: 29.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002917/0.8684, allocations: 163.6 kB / 1.122 GB, free: 29.07 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002632/0.8686, allocations: 0.6865 MB / 1.123 GB, free: 28.37 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.524e-05/0.8687, allocations: 3.812 kB / 1.123 GB, free: 28.37 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.705e-05/0.8687, allocations: 18.2 kB / 1.123 GB, free: 28.36 MB / 0.698 GB Notification: Performance of SimCode: time 2.1e-07/0.8687, allocations: 0 / 1.123 GB, free: 28.36 MB / 0.698 GB Notification: Performance of Templates: time 0.003535/0.8722, allocations: 1.717 MB / 1.125 GB, free: 28.2 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1)