Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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 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.Or3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|or1.u1|or1.u2|or1.u3|or1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|or1.u1|or1.u2|or1.u3|or1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008733/0.008733, allocations: 100.9 kB / 15.73 MB, free: 6 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.00165/0.00165, allocations: 188.9 kB / 16.67 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.619/1.619, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.915/2.915, allocations: 437 MB / 0.7105 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001529/0.001529, allocations: 63.91 kB / 1.019 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4325/0.434, allocations: 151.6 MB / 1.167 GB, free: 6.75 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or3): time 0.002588/0.4367, allocations: 0.7049 MB / 1.167 GB, free: 6.043 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002088/0.4388, allocations: 1.269 MB / 1.169 GB, free: 4.758 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.603e-05/0.4389, allocations: 0 / 1.169 GB, free: 4.758 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.211e-05/0.439, allocations: 7.938 kB / 1.169 GB, free: 4.75 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001359/0.4392, allocations: 19.84 kB / 1.169 GB, free: 4.73 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.00122/0.4404, allocations: 302.3 kB / 1.169 GB, free: 4.441 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0004839/0.4409, allocations: 287.5 kB / 1.169 GB, free: 4.16 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001335/0.441, allocations: 12.19 kB / 1.169 GB, free: 4.145 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002222/0.4413, allocations: 103.8 kB / 1.169 GB, free: 4.043 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002397/0.4415, allocations: 99.67 kB / 1.169 GB, free: 3.945 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 7.009e-05/0.4416, allocations: 20 kB / 1.169 GB, free: 3.926 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001431/0.4417, allocations: 35.98 kB / 1.169 GB, free: 3.891 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.478e-05/0.4418, allocations: 19.92 kB / 1.169 GB, free: 3.871 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001768/0.442, allocations: 75.81 kB / 1.169 GB, free: 3.797 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004448/0.4424, allocations: 227.3 kB / 1.17 GB, free: 3.574 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.4425, allocations: 0 / 1.17 GB, free: 3.574 MB / 0.92 GB Notification: Performance of FrontEnd: time 4.469e-06/0.4425, allocations: 0 / 1.17 GB, free: 3.574 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.766e-05/0.4425, allocations: 0 / 1.17 GB, free: 3.574 MB / 0.92 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.0008703/0.4434, allocations: 0.4885 MB / 1.17 GB, free: 3.02 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/0.4434, allocations: 12.03 kB / 1.17 GB, free: 3.008 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001128/0.4436, allocations: 20.89 kB / 1.17 GB, free: 2.988 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001847/0.4437, allocations: 172.3 kB / 1.17 GB, free: 2.781 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.005e-05/0.4438, allocations: 4.375 kB / 1.17 GB, free: 2.777 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.622e-05/0.4438, allocations: 16.36 kB / 1.17 GB, free: 2.762 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001735/0.444, allocations: 58.23 kB / 1.17 GB, free: 2.699 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.4441, allocations: 3.938 kB / 1.17 GB, free: 2.695 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.4441, allocations: 7.875 kB / 1.17 GB, free: 2.688 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.4441, allocations: 0 / 1.17 GB, free: 2.688 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.65e-05/0.4442, allocations: 23.98 kB / 1.17 GB, free: 2.664 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006737/0.4448, allocations: 416.5 kB / 1.171 GB, free: 2.207 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 9.726e-05/0.4449, allocations: 34.56 kB / 1.171 GB, free: 2.164 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.513e-05/0.445, allocations: 24.78 kB / 1.171 GB, free: 2.137 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.469e-05/0.445, allocations: 0 / 1.171 GB, free: 2.137 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003135/0.4453, allocations: 103.4 kB / 1.171 GB, free: 2.023 MB / 0.92 GB Notification: Performance of pre-optimization done (n=10): time 2.214e-06/0.4454, allocations: 4 kB / 1.171 GB, free: 2.02 MB / 0.92 GB Notification: Performance of matching and sorting (n=10): time 0.000345/0.4457, allocations: 137.8 kB / 1.171 GB, free: 1.879 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.579e-05/0.4458, allocations: 55.41 kB / 1.171 GB, free: 1.812 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.4459, allocations: 135.6 kB / 1.171 GB, free: 1.672 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 5.81e-05/0.446, allocations: 37.69 kB / 1.171 GB, free: 1.629 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 8.753e-05/0.446, allocations: 92.14 kB / 1.171 GB, free: 1.535 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.083e-05/0.4461, allocations: 23.92 kB / 1.172 GB, free: 1.512 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001416/0.4462, allocations: 69.67 kB / 1.172 GB, free: 1.438 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.4464, allocations: 330.7 kB / 1.172 GB, free: 1.105 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002044/0.4466, allocations: 87.94 kB / 1.172 GB, free: 1.02 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002269/0.4468, allocations: 136.4 kB / 1.172 GB, free: 0.8672 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003242/0.4472, allocations: 234.7 kB / 1.172 GB, free: 0.6016 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.4472, allocations: 0 / 1.172 GB, free: 0.6016 MB / 0.92 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006196/0.4478, allocations: 374.6 kB / 1.173 GB, free: 216 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 9.331e-05/0.4479, allocations: 103 kB / 1.173 GB, free: 96 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.4479, allocations: 4 kB / 1.173 GB, free: 92 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/0.4479, allocations: 0 / 1.173 GB, free: 92 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.093e-05/0.448, allocations: 4 kB / 1.173 GB, free: 88 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.448, allocations: 4 kB / 1.173 GB, free: 84 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005225/0.4485, allocations: 83.86 kB / 1.173 GB, free: 0 / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.399e-05/0.4486, allocations: 19.98 kB / 1.173 GB, free: 15.98 MB / 0.9356 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,booPul3.y,$PRE.booPul3.y,or1.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 (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.000144/0.4488, allocations: 133.7 kB / 1.173 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.92e-05/0.4488, allocations: 7.953 kB / 1.173 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.842e-05/0.4488, allocations: 8.375 kB / 1.173 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.4488, allocations: 4 kB / 1.173 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/0.4488, allocations: 0 / 1.173 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.4489, allocations: 0 / 1.173 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000185/0.449, allocations: 201.5 kB / 1.173 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.4491, allocations: 7.938 kB / 1.173 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.375e-05/0.4491, allocations: 4 kB / 1.173 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.4491, allocations: 0 / 1.173 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.4491, allocations: 3.984 kB / 1.173 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.4491, allocations: 0 / 1.173 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.4491, allocations: 3.938 kB / 1.173 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001931/0.4493, allocations: 133 kB / 1.173 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.725e-05/0.4494, allocations: 89.25 kB / 1.173 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.505e-05/0.4494, allocations: 11.92 kB / 1.173 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.531e-05/0.4494, allocations: 3.938 kB / 1.173 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.423e-05/0.4495, allocations: 11.98 kB / 1.173 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/0.4495, allocations: 4 kB / 1.173 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.416e-05/0.4496, allocations: 101.9 kB / 1.174 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.21e-07/0.4496, allocations: 0 / 1.174 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003085/0.4499, allocations: 47.95 kB / 1.174 GB, free: 15.12 MB / 0.9356 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,or1.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 (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.0002035/0.4501, allocations: 111.2 kB / 1.174 GB, free: 15 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000524/0.4507, allocations: 369.9 kB / 1.174 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.4507, allocations: 0 / 1.174 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 7.311e-05/0.4508, allocations: 35.98 kB / 1.174 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003229/0.4511, allocations: 20.36 kB / 1.174 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004776/0.4516, allocations: 194.7 kB / 1.174 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003023/0.4519, allocations: 0.6924 MB / 1.175 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.521e-05/0.452, allocations: 8.438 kB / 1.175 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.22e-05/0.452, allocations: 15.42 kB / 1.175 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of SimCode: time 3.41e-07/0.452, allocations: 0 / 1.175 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of Templates: time 0.006163/0.4582, allocations: 2.628 MB / 1.178 GB, free: 10.99 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Or3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches