Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|and1.u1|and1.u2|and1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|and1.u1|and1.u2|and1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.314/2.314, allocations: 387.1 MB / 399.7 MB, free: 9.52 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 161 kB / 492.3 MB, free: 0.6484 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.555/1.555, allocations: 221.3 MB / 0.7871 GB, free: 12.92 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009337/0.0009339, allocations: 104.3 kB / 0.9267 GB, free: 13.99 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.302e-05/3.303e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2776/0.2776, allocations: 142.3 MB / 1.212 GB, free: 38.53 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9025/1.18, allocations: 149.3 MB / 1.358 GB, free: 19.11 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002266/1.18, allocations: 73.19 kB / 1.358 GB, free: 19.11 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.008684/1.189, allocations: 2.92 MB / 1.361 GB, free: 34.66 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.543e-06/1.189, allocations: 0 / 1.361 GB, free: 34.66 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.973e-06/1.189, allocations: 0 / 1.361 GB, free: 34.66 MB / 0.8386 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.0003472/1.19, allocations: 405.8 kB / 1.362 GB, free: 34.24 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/1.19, allocations: 11.53 kB / 1.362 GB, free: 34.24 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.706e-05/1.19, allocations: 7.688 kB / 1.362 GB, free: 34.24 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.372e-05/1.19, allocations: 168.9 kB / 1.362 GB, free: 34.04 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.361e-05/1.19, allocations: 11.28 kB / 1.362 GB, free: 34.04 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.242e-05/1.19, allocations: 15.62 kB / 1.362 GB, free: 34.03 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001076/1.19, allocations: 51.14 kB / 1.362 GB, free: 34 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/1.19, allocations: 0 / 1.362 GB, free: 34 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/1.19, allocations: 0 / 1.362 GB, free: 34 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/1.19, allocations: 0 / 1.362 GB, free: 34 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.973e-05/1.19, allocations: 13.09 kB / 1.362 GB, free: 34 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004271/1.19, allocations: 356.8 kB / 1.362 GB, free: 33.72 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.208e-05/1.191, allocations: 36.36 kB / 1.362 GB, free: 33.7 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.604e-05/1.191, allocations: 17.77 kB / 1.362 GB, free: 33.69 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.277e-06/1.191, allocations: 0 / 1.362 GB, free: 33.69 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001207/1.191, allocations: 77.5 kB / 1.362 GB, free: 33.64 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/1.191, allocations: 0 / 1.362 GB, free: 33.64 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0002244/1.191, allocations: 86.7 kB / 1.362 GB, free: 33.6 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.333e-05/1.191, allocations: 60.72 kB / 1.362 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.712e-05/1.191, allocations: 118.9 kB / 1.363 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.668e-05/1.191, allocations: 32.67 kB / 1.363 GB, free: 33.4 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.815e-05/1.191, allocations: 88.39 kB / 1.363 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.498e-05/1.191, allocations: 17.92 kB / 1.363 GB, free: 33.31 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.745e-05/1.191, allocations: 9.422 kB / 1.363 GB, free: 33.31 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 5.182e-05/1.191, allocations: 312.2 kB / 1.363 GB, free: 33 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001109/1.191, allocations: 58.53 kB / 1.363 GB, free: 33 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001147/1.192, allocations: 91.41 kB / 1.363 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001188/1.192, allocations: 111.6 kB / 1.363 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/1.192, allocations: 0 / 1.363 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003377/1.192, allocations: 257.6 kB / 1.363 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.135e-05/1.192, allocations: 71.94 kB / 1.364 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/1.192, allocations: 0 / 1.364 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/1.192, allocations: 3.844 kB / 1.364 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.848e-05/1.192, allocations: 0 / 1.364 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/1.192, allocations: 3.812 kB / 1.364 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003088/1.192, allocations: 74.17 kB / 1.364 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.992e-05/1.192, allocations: 14.75 kB / 1.364 GB, free: 32.71 MB / 0.8386 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,and1.y) * Number of discrete 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 6.744e-05/1.193, allocations: 119 kB / 1.364 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.175e-05/1.193, allocations: 7.719 kB / 1.364 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.934e-05/1.193, allocations: 14.25 kB / 1.364 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/1.193, allocations: 7.875 kB / 1.364 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/1.193, allocations: 5 kB / 1.364 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/1.193, allocations: 0 / 1.364 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.335e-05/1.193, allocations: 174 kB / 1.364 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/1.193, allocations: 0 / 1.364 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.456e-06/1.193, allocations: 1.312 kB / 1.364 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/1.193, allocations: 0 / 1.364 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/1.193, allocations: 7.594 kB / 1.364 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/1.193, allocations: 0.875 kB / 1.364 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/1.193, allocations: 1.453 kB / 1.364 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001164/1.193, allocations: 116.5 kB / 1.364 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.418e-05/1.193, allocations: 86.47 kB / 1.364 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.451e-05/1.193, allocations: 0 / 1.364 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.963e-05/1.193, allocations: 4.922 kB / 1.364 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.828e-05/1.193, allocations: 5.594 kB / 1.364 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/1.193, allocations: 5.531 kB / 1.364 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.975e-05/1.193, allocations: 86.75 kB / 1.364 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.193, allocations: 4 kB / 1.364 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002195/1.193, allocations: 35.95 kB / 1.364 GB, free: 32.13 MB / 0.8386 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,and1.y) * Number of discrete 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.000157/1.193, allocations: 110.9 kB / 1.364 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002636/1.194, allocations: 248.4 kB / 1.365 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/1.194, allocations: 0 / 1.365 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.845e-05/1.194, allocations: 26.31 kB / 1.365 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001692/1.194, allocations: 19.91 kB / 1.365 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002007/1.194, allocations: 98.56 kB / 1.365 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002178/1.194, allocations: 0.6883 MB / 1.365 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.55e-05/1.194, allocations: 8.625 kB / 1.365 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.665e-05/1.194, allocations: 11.28 kB / 1.365 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of SimCode: time 2.31e-07/1.194, allocations: 288 / 1.365 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of Templates: time 0.003654/1.198, allocations: 1.682 MB / 1.367 GB, free: 30.95 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_And.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches