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.001834/0.001834, allocations: 110.8 kB / 16.42 MB, free: 6.441 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.002031/0.002031, allocations: 190.7 kB / 17.35 MB, free: 5.715 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.487/1.487, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.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.545/2.545, allocations: 437 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002506/0.002506, allocations: 67.91 kB / 1.019 GB, free: 9.363 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9438/0.9463, allocations: 151.6 MB / 1.167 GB, free: 3.812 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or3): time 0.002064/0.9484, allocations: 0.7061 MB / 1.168 GB, free: 3.113 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001856/0.9503, allocations: 1.271 MB / 1.169 GB, free: 1.828 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.598e-05/0.9504, allocations: 0 / 1.169 GB, free: 1.828 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.658e-05/0.9505, allocations: 7.922 kB / 1.169 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001229/0.9506, allocations: 23.8 kB / 1.169 GB, free: 1.797 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009532/0.9516, allocations: 313 kB / 1.17 GB, free: 1.5 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0003794/0.952, allocations: 267.7 kB / 1.17 GB, free: 1.238 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.9521, allocations: 24.16 kB / 1.17 GB, free: 1.211 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000199/0.9523, allocations: 99.75 kB / 1.17 GB, free: 1.113 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002015/0.9525, allocations: 99.67 kB / 1.17 GB, free: 1.016 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 6.424e-05/0.9526, allocations: 20 kB / 1.17 GB, free: 0.9961 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001122/0.9527, allocations: 39.97 kB / 1.17 GB, free: 0.957 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.12e-05/0.9527, allocations: 15.98 kB / 1.17 GB, free: 0.9414 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001356/0.9529, allocations: 83.73 kB / 1.17 GB, free: 0.8594 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003281/0.9532, allocations: 219.3 kB / 1.17 GB, free: 0.6484 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.9532, allocations: 4 kB / 1.17 GB, free: 0.6445 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.014e-06/0.9532, allocations: 0 / 1.17 GB, free: 0.6445 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.365e-05/0.9533, allocations: 0 / 1.17 GB, free: 0.6445 MB / 0.8887 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.0007606/0.954, allocations: 494.2 kB / 1.171 GB, free: 100 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.9541, allocations: 8.922 kB / 1.171 GB, free: 92 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.371e-05/0.9542, allocations: 16.84 kB / 1.171 GB, free: 76 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001711/0.9544, allocations: 176.2 kB / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.691e-05/0.9544, allocations: 12.36 kB / 1.171 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.076e-05/0.9544, allocations: 12.38 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001745/0.9546, allocations: 66.22 kB / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.9546, allocations: 3.938 kB / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.9547, allocations: 0 / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.054e-06/0.9547, allocations: 3.984 kB / 1.171 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.949e-05/0.9547, allocations: 23.98 kB / 1.171 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006553/0.9554, allocations: 412.5 kB / 1.172 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 6.924e-05/0.9555, allocations: 30.58 kB / 1.172 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.822e-05/0.9555, allocations: 24.94 kB / 1.172 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.358e-05/0.9555, allocations: 0 / 1.172 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001788/0.9557, allocations: 103.2 kB / 1.172 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=10): time 1.944e-06/0.9557, allocations: 4 kB / 1.172 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10): time 0.0003357/0.9561, allocations: 133.8 kB / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.62e-05/0.9561, allocations: 55.41 kB / 1.172 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/0.9563, allocations: 137.8 kB / 1.172 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.654e-05/0.9563, allocations: 41.64 kB / 1.172 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 8.778e-05/0.9564, allocations: 100.1 kB / 1.172 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.673e-05/0.9565, allocations: 23.7 kB / 1.172 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001238/0.9566, allocations: 65.67 kB / 1.172 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.9567, allocations: 326.8 kB / 1.173 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000195/0.9569, allocations: 83.95 kB / 1.173 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000215/0.9571, allocations: 138 kB / 1.173 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002829/0.9574, allocations: 236.8 kB / 1.173 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.9574, allocations: 0 / 1.173 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000584/0.958, allocations: 366.5 kB / 1.173 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 8.065e-05/0.9581, allocations: 97.09 kB / 1.173 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.116e-06/0.9581, allocations: 4 kB / 1.173 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.9582, allocations: 0 / 1.173 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.95e-05/0.9582, allocations: 11.92 kB / 1.173 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.9582, allocations: 4 kB / 1.173 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005199/0.9587, allocations: 84.03 kB / 1.174 GB, free: 13.08 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.427e-05/0.9588, allocations: 15.98 kB / 1.174 GB, free: 13.06 MB / 0.9044 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.0001393/0.9589, allocations: 132.4 kB / 1.174 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.126e-05/0.959, allocations: 11.91 kB / 1.174 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.634e-05/0.959, allocations: 12.36 kB / 1.174 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.959, allocations: 0 / 1.174 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.959, allocations: 4 kB / 1.174 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.894e-05/0.9591, allocations: 88.95 kB / 1.174 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.9591, allocations: 0 / 1.174 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.722e-05/0.9591, allocations: 11.94 kB / 1.174 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.832e-05/0.9592, allocations: 7.984 kB / 1.174 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002005/0.9594, allocations: 184.9 kB / 1.174 GB, free: 12.58 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002365/0.9596, allocations: 282.7 kB / 1.174 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.149e-05/0.9597, allocations: 44.05 kB / 1.174 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.964e-05/0.9598, allocations: 98.78 kB / 1.174 GB, free: 12.15 MB / 0.9044 GB Notification: Performance of Backend: time 4.61e-07/0.9598, allocations: 0 / 1.174 GB, free: 12.15 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0007685/0.9606, allocations: 420.8 kB / 1.175 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0006577/0.9612, allocations: 0.6324 MB / 1.175 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of Templates: time 0.006126/0.9674, allocations: 2.674 MB / 1.178 GB, free: 8.375 MB / 0.9044 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/jenkins1/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