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.009541/0.00954, allocations: 97.69 kB / 15.73 MB, free: 5.996 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.001633/0.001633, allocations: 186 kB / 16.67 MB, free: 5.926 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.541/1.541, allocations: 222.9 MB / 240.4 MB, free: 4.309 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.771/2.771, allocations: 437 MB / 0.7105 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 71.89 kB / 1.019 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4442/0.4455, allocations: 151.6 MB / 1.167 GB, free: 6.773 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or3): time 0.002262/0.4478, allocations: 0.6995 MB / 1.167 GB, free: 6.074 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002194/0.4501, allocations: 1.269 MB / 1.169 GB, free: 4.789 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.399e-05/0.4502, allocations: 4 kB / 1.169 GB, free: 4.785 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.967e-05/0.4502, allocations: 7.938 kB / 1.169 GB, free: 4.777 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001139/0.4503, allocations: 19.84 kB / 1.169 GB, free: 4.758 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000882/0.4512, allocations: 307.6 kB / 1.169 GB, free: 4.465 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003458/0.4516, allocations: 279.5 kB / 1.169 GB, free: 4.191 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001408/0.4517, allocations: 16.17 kB / 1.169 GB, free: 4.172 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001365/0.4519, allocations: 99.86 kB / 1.169 GB, free: 4.074 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001796/0.4521, allocations: 99.67 kB / 1.169 GB, free: 3.977 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 5.22e-05/0.4521, allocations: 24 kB / 1.169 GB, free: 3.953 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001233/0.4523, allocations: 39.97 kB / 1.169 GB, free: 3.914 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.198e-05/0.4523, allocations: 11.94 kB / 1.169 GB, free: 3.902 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001158/0.4524, allocations: 87.73 kB / 1.17 GB, free: 3.816 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002985/0.4527, allocations: 219.3 kB / 1.17 GB, free: 3.602 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.4527, allocations: 0 / 1.17 GB, free: 3.602 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.675e-06/0.4527, allocations: 0 / 1.17 GB, free: 3.602 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.732e-06/0.4528, allocations: 0 / 1.17 GB, free: 3.602 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.000754/0.4535, allocations: 0.4885 MB / 1.17 GB, free: 3.047 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.4536, allocations: 12.03 kB / 1.17 GB, free: 3.035 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.409e-05/0.4536, allocations: 16.89 kB / 1.17 GB, free: 3.02 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001408/0.4538, allocations: 172.3 kB / 1.17 GB, free: 2.812 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.296e-05/0.4538, allocations: 8.375 kB / 1.17 GB, free: 2.805 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.77e-05/0.4539, allocations: 16.36 kB / 1.17 GB, free: 2.789 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/0.454, allocations: 62.16 kB / 1.17 GB, free: 2.723 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.4541, allocations: 3.938 kB / 1.17 GB, free: 2.719 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.4541, allocations: 4 kB / 1.17 GB, free: 2.715 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.4541, allocations: 0 / 1.17 GB, free: 2.715 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.822e-05/0.4541, allocations: 23.98 kB / 1.171 GB, free: 2.691 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006269/0.4548, allocations: 416.5 kB / 1.171 GB, free: 2.234 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 6.944e-05/0.4549, allocations: 34.5 kB / 1.171 GB, free: 2.191 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.365e-05/0.4549, allocations: 20.94 kB / 1.171 GB, free: 2.168 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.059e-05/0.4549, allocations: 0 / 1.171 GB, free: 2.168 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002466/0.4552, allocations: 107.3 kB / 1.171 GB, free: 2.051 MB / 0.92 GB Notification: Performance of pre-optimization done (n=10): time 1.663e-06/0.4552, allocations: 0 / 1.171 GB, free: 2.051 MB / 0.92 GB Notification: Performance of matching and sorting (n=10): time 0.0003201/0.4555, allocations: 137.8 kB / 1.171 GB, free: 1.91 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.099e-05/0.4556, allocations: 55.39 kB / 1.171 GB, free: 1.844 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.4557, allocations: 133.9 kB / 1.171 GB, free: 1.703 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.666e-05/0.4557, allocations: 45.58 kB / 1.171 GB, free: 1.652 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 8.531e-05/0.4558, allocations: 92.2 kB / 1.172 GB, free: 1.559 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.778e-05/0.4559, allocations: 23.84 kB / 1.172 GB, free: 1.535 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001247/0.456, allocations: 73.67 kB / 1.172 GB, free: 1.457 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.4562, allocations: 318.8 kB / 1.172 GB, free: 1.137 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001976/0.4564, allocations: 91.94 kB / 1.172 GB, free: 1.047 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002089/0.4566, allocations: 132.5 kB / 1.172 GB, free: 0.8984 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002723/0.4569, allocations: 231 kB / 1.172 GB, free: 0.6328 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.4569, allocations: 0 / 1.172 GB, free: 0.6328 MB / 0.92 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005951/0.4575, allocations: 378.5 kB / 1.173 GB, free: 244 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 9.909e-05/0.4576, allocations: 101.1 kB / 1.173 GB, free: 124 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.4576, allocations: 0 / 1.173 GB, free: 124 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.105e-05/0.4576, allocations: 4 kB / 1.173 GB, free: 120 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.728e-05/0.4576, allocations: 4 kB / 1.173 GB, free: 116 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.4577, allocations: 4.016 kB / 1.173 GB, free: 112 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004607/0.4581, allocations: 87.88 kB / 1.173 GB, free: 24 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.376e-05/0.4582, allocations: 23.97 kB / 1.173 GB, free: 0 / 0.92 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.0001325/0.4583, allocations: 125.8 kB / 1.173 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.469e-05/0.4584, allocations: 7.953 kB / 1.173 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.191e-05/0.4584, allocations: 12.38 kB / 1.173 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.4584, allocations: 0 / 1.173 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.4584, allocations: 0 / 1.173 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.4584, allocations: 3.938 kB / 1.173 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001652/0.4586, allocations: 201.6 kB / 1.173 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.4586, allocations: 0 / 1.173 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.067e-05/0.4586, allocations: 0 / 1.173 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.4586, allocations: 3.938 kB / 1.173 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.4586, allocations: 11.92 kB / 1.173 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.4587, allocations: 0 / 1.173 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.4587, allocations: 0 / 1.173 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001848/0.4588, allocations: 132.9 kB / 1.173 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.013e-05/0.4589, allocations: 101 kB / 1.173 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.725e-05/0.4589, allocations: 0 / 1.173 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.363e-05/0.459, allocations: 4 kB / 1.173 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.045e-05/0.459, allocations: 16.08 kB / 1.174 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/0.459, allocations: 7.938 kB / 1.174 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.257e-05/0.4591, allocations: 102 kB / 1.174 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4591, allocations: 0 / 1.174 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000274/0.4594, allocations: 43.95 kB / 1.174 GB, free: 15.14 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.0001949/0.4596, allocations: 115.2 kB / 1.174 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004708/0.4601, allocations: 369.9 kB / 1.174 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4601, allocations: 0 / 1.174 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 6.025e-05/0.4602, allocations: 35.98 kB / 1.174 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003064/0.4605, allocations: 19.98 kB / 1.174 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004551/0.4609, allocations: 195.1 kB / 1.174 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002661/0.4612, allocations: 0.6924 MB / 1.175 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.317e-05/0.4613, allocations: 8.422 kB / 1.175 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.675e-05/0.4613, allocations: 11.44 kB / 1.175 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of SimCode: time 2.3e-07/0.4613, allocations: 0 / 1.175 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of Templates: time 0.006072/0.4674, allocations: 2.623 MB / 1.178 GB, free: 11.02 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