Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|and1.u1|and1.u2|and1.u3|and1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And3") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|and1.u1|and1.u2|and1.u3|and1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.427/2.427, allocations: 393.5 MB / 408.4 MB, free: 10.94 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.001111/0.001111, allocations: 183.9 kB / 0.4902 GB, free: 2.219 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.727/1.727, allocations: 223.1 MB / 0.7992 GB, free: 15.7 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.0009295/0.0009292, allocations: 104.2 kB / 0.9396 GB, free: 2.863 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003487/0.0003487, allocations: 10.38 kB / 1.09 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2837/0.2841, allocations: 143 MB / 1.229 GB, free: 85.48 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2031/0.4873, allocations: 150.2 MB / 1.376 GB, free: 15.1 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002936/0.4877, allocations: 71.95 kB / 1.376 GB, free: 15.03 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.01256/0.5003, allocations: 4.076 MB / 1.38 GB, free: 10.95 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.225e-06/0.5003, allocations: 0 / 1.38 GB, free: 10.95 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.298e-05/0.5003, allocations: 0 / 1.38 GB, free: 10.95 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005463/0.5009, allocations: 472.1 kB / 1.38 GB, free: 10.42 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.5009, allocations: 12.03 kB / 1.38 GB, free: 10.41 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.016e-05/0.501, allocations: 15.91 kB / 1.38 GB, free: 10.39 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001335/0.5012, allocations: 173.5 kB / 1.381 GB, free: 10.18 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.087e-05/0.5012, allocations: 15.98 kB / 1.381 GB, free: 10.17 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.367e-05/0.5012, allocations: 19.94 kB / 1.381 GB, free: 10.15 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001471/0.5014, allocations: 61.64 kB / 1.381 GB, free: 10.08 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.5014, allocations: 0 / 1.381 GB, free: 10.08 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.5014, allocations: 0 / 1.381 GB, free: 10.08 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.5014, allocations: 0 / 1.381 GB, free: 10.08 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.224e-05/0.5015, allocations: 23.98 kB / 1.381 GB, free: 10.06 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000615/0.5021, allocations: 416.5 kB / 1.381 GB, free: 9.602 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 7.211e-05/0.5022, allocations: 34.52 kB / 1.381 GB, free: 9.559 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.129e-05/0.5022, allocations: 0 / 1.381 GB, free: 9.559 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002243/0.5025, allocations: 99.38 kB / 1.381 GB, free: 9.449 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=10): time 2.695e-06/0.5025, allocations: 4 kB / 1.381 GB, free: 9.445 MB / 0.8855 GB Notification: Performance of matching and sorting (n=10): time 0.0003101/0.5028, allocations: 137.5 kB / 1.381 GB, free: 9.305 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.902e-05/0.5029, allocations: 63.3 kB / 1.381 GB, free: 9.23 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.503, allocations: 124.8 kB / 1.382 GB, free: 9.102 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.164e-05/0.503, allocations: 33.7 kB / 1.382 GB, free: 9.062 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 7.9e-05/0.5031, allocations: 96.2 kB / 1.382 GB, free: 8.965 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.51e-05/0.5031, allocations: 23.7 kB / 1.382 GB, free: 8.941 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.528e-05/0.5032, allocations: 8 kB / 1.382 GB, free: 8.934 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.5033, allocations: 326.8 kB / 1.382 GB, free: 8.605 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001741/0.5035, allocations: 83.95 kB / 1.382 GB, free: 8.523 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002131/0.5037, allocations: 134.6 kB / 1.382 GB, free: 8.371 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002073/0.5039, allocations: 165.1 kB / 1.382 GB, free: 8.191 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.5039, allocations: 0 / 1.382 GB, free: 8.191 MB / 0.8855 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005741/0.5045, allocations: 366.4 kB / 1.383 GB, free: 7.809 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 7.867e-05/0.5046, allocations: 102.3 kB / 1.383 GB, free: 7.691 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.5046, allocations: 4 kB / 1.383 GB, free: 7.688 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.5046, allocations: 3.938 kB / 1.383 GB, free: 7.684 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.544e-05/0.5046, allocations: 12.12 kB / 1.383 GB, free: 7.672 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.5047, allocations: 11.94 kB / 1.383 GB, free: 7.66 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004744/0.5051, allocations: 103.9 kB / 1.383 GB, free: 7.559 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.344e-05/0.5052, allocations: 19.98 kB / 1.383 GB, free: 7.539 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,and1.y,$PRE.booPul3.y,booPul3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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 0.0001432/0.5054, allocations: 127.5 kB / 1.383 GB, free: 7.406 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.721e-05/0.5054, allocations: 11.91 kB / 1.383 GB, free: 7.395 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.986e-05/0.5054, allocations: 12.36 kB / 1.383 GB, free: 7.379 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.5054, allocations: 4 kB / 1.383 GB, free: 7.375 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.5054, allocations: 3.953 kB / 1.383 GB, free: 7.371 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.5055, allocations: 3.984 kB / 1.383 GB, free: 7.367 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001547/0.5056, allocations: 185.6 kB / 1.383 GB, free: 7.137 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.5056, allocations: 0 / 1.383 GB, free: 7.137 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.153e-05/0.5056, allocations: 4.359 kB / 1.383 GB, free: 7.133 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.5056, allocations: 4 kB / 1.383 GB, free: 7.129 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.218e-06/0.5057, allocations: 3.938 kB / 1.383 GB, free: 7.125 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.5057, allocations: 4 kB / 1.383 GB, free: 7.121 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.5057, allocations: 3.938 kB / 1.383 GB, free: 7.117 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001796/0.5059, allocations: 144.9 kB / 1.383 GB, free: 6.957 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.149e-05/0.5059, allocations: 81.02 kB / 1.384 GB, free: 6.859 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.792e-05/0.5059, allocations: 0 / 1.384 GB, free: 6.859 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.402e-05/0.506, allocations: 8 kB / 1.384 GB, free: 6.852 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.664e-05/0.506, allocations: 11.98 kB / 1.384 GB, free: 6.84 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.506, allocations: 4 kB / 1.384 GB, free: 6.836 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 6.277e-05/0.5061, allocations: 105.8 kB / 1.384 GB, free: 6.734 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5061, allocations: 0 / 1.384 GB, free: 6.734 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002643/0.5064, allocations: 55.88 kB / 1.384 GB, free: 6.68 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,and1.y,booPul3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0002196/0.5066, allocations: 111.2 kB / 1.384 GB, free: 6.562 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004661/0.5071, allocations: 362 kB / 1.384 GB, free: 6.172 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.5071, allocations: 384 / 1.384 GB, free: 6.172 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 6.161e-05/0.5072, allocations: 43.98 kB / 1.384 GB, free: 6.129 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002239/0.5074, allocations: 27.91 kB / 1.384 GB, free: 6.102 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004202/0.5078, allocations: 199.5 kB / 1.384 GB, free: 5.871 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002844/0.5081, allocations: 0.7004 MB / 1.385 GB, free: 5.145 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.692e-05/0.5082, allocations: 4.438 kB / 1.385 GB, free: 5.141 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.935e-05/0.5082, allocations: 11.44 kB / 1.385 GB, free: 5.129 MB / 0.8855 GB Notification: Performance of SimCode: time 2.3e-07/0.5082, allocations: 0 / 1.385 GB, free: 5.129 MB / 0.8855 GB Notification: Performance of Templates: time 0.005183/0.5134, allocations: 2.375 MB / 1.387 GB, free: 2.785 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And3.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And3.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_And3.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches