Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.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.MultiOr,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mulOr0.y|mulOr1.u.1.|mulOr1.y|mulOr2.u.1.|mulOr2.u.2.|mulOr2.y|mulOr5.u.1.|mulOr5.u.2.|mulOr5.u.3.|mulOr5.u.4.|mulOr5.u.5.|mulOr5.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mulOr0.y|mulOr1.u.1.|mulOr1.y|mulOr2.u.1.|mulOr2.u.2.|mulOr2.y|mulOr5.u.1.|mulOr5.u.2.|mulOr5.u.3.|mulOr5.u.4.|mulOr5.u.5.|mulOr5.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009727/0.009727, allocations: 97.3 kB / 15.73 MB, free: 6.055 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.001991/0.001991, allocations: 193.7 kB / 16.67 MB, free: 5.977 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.544/1.544, allocations: 222.9 MB / 240.4 MB, free: 4.281 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.946/2.946, allocations: 437 MB / 0.7105 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 59.91 kB / 1.019 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4559/0.4572, 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.MultiOr): time 0.002317/0.4596, allocations: 0.8398 MB / 1.167 GB, free: 5.91 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002158/0.4618, allocations: 1.479 MB / 1.169 GB, free: 4.414 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001206/0.4619, allocations: 0 / 1.169 GB, free: 4.414 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001406/0.4621, allocations: 23.81 kB / 1.169 GB, free: 4.391 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.38e-05/0.4622, allocations: 23.72 kB / 1.169 GB, free: 4.367 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001525/0.4637, allocations: 0.5272 MB / 1.169 GB, free: 3.855 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0007353/0.4645, allocations: 0.4913 MB / 1.17 GB, free: 3.363 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001882/0.4647, allocations: 49.47 kB / 1.17 GB, free: 3.309 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00036/0.4651, allocations: 179.8 kB / 1.17 GB, free: 3.133 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000413/0.4655, allocations: 179.5 kB / 1.17 GB, free: 2.957 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001762/0.4657, allocations: 40 kB / 1.17 GB, free: 2.918 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000216/0.4659, allocations: 51.98 kB / 1.17 GB, free: 2.867 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 9.064e-05/0.466, allocations: 43.86 kB / 1.17 GB, free: 2.824 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002742/0.4663, allocations: 159.5 kB / 1.171 GB, free: 2.668 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0006694/0.4669, allocations: 414.7 kB / 1.171 GB, free: 2.262 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.76e-06/0.467, allocations: 0 / 1.171 GB, free: 2.262 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.124e-06/0.467, allocations: 0 / 1.171 GB, free: 2.262 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.058e-05/0.467, allocations: 0 / 1.171 GB, free: 2.262 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001189/0.4682, allocations: 0.6553 MB / 1.172 GB, free: 1.523 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 6.147e-05/0.4683, allocations: 11.98 kB / 1.172 GB, free: 1.512 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001241/0.4684, allocations: 28.84 kB / 1.172 GB, free: 1.484 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003718/0.4688, allocations: 272.9 kB / 1.172 GB, free: 1.18 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.932e-05/0.4688, allocations: 16.38 kB / 1.172 GB, free: 1.164 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.453e-05/0.4689, allocations: 32.36 kB / 1.172 GB, free: 1.133 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003294/0.4692, allocations: 151.7 kB / 1.172 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.4692, allocations: 4.188 kB / 1.172 GB, free: 0.9688 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.262e-05/0.4693, allocations: 11.88 kB / 1.172 GB, free: 0.957 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.4693, allocations: 4 kB / 1.172 GB, free: 0.9531 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000157/0.4694, allocations: 83.89 kB / 1.172 GB, free: 0.8711 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009573/0.4704, allocations: 0.7033 MB / 1.173 GB, free: 116 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002469/0.4707, allocations: 167.8 kB / 1.173 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.936e-05/0.4708, allocations: 56.77 kB / 1.173 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.207e-05/0.4708, allocations: 0 / 1.173 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002501/0.471, allocations: 151.2 kB / 1.173 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=20): time 1.372e-06/0.471, allocations: 0 / 1.173 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of matching and sorting (n=20): time 0.000469/0.4715, allocations: 243.6 kB / 1.174 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.414e-05/0.4716, allocations: 59.39 kB / 1.174 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001728/0.4718, allocations: 186.8 kB / 1.174 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.141e-05/0.4718, allocations: 37.7 kB / 1.174 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/0.4719, allocations: 128.6 kB / 1.174 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.227e-05/0.472, allocations: 47.67 kB / 1.174 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001975/0.4722, allocations: 113.6 kB / 1.174 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.4724, allocations: 326.8 kB / 1.174 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003212/0.4727, allocations: 155.9 kB / 1.175 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004021/0.4731, allocations: 246.1 kB / 1.175 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005242/0.4736, allocations: 409.2 kB / 1.175 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.4736, allocations: 0 / 1.175 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001037/0.4747, allocations: 0.612 MB / 1.176 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001329/0.4748, allocations: 164.5 kB / 1.176 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.428e-05/0.4748, allocations: 7.938 kB / 1.176 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.155e-05/0.4749, allocations: 8.281 kB / 1.176 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.787e-05/0.4749, allocations: 19.92 kB / 1.176 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.4749, allocations: 4 kB / 1.176 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007632/0.4757, allocations: 135.7 kB / 1.176 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.509e-05/0.4758, allocations: 35.97 kB / 1.176 GB, free: 12.59 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul5.y,$PRE.booPul5.y,booPul4.y,$PRE.booPul4.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y,mulOr5.uTemp[4],mulOr5.uTemp[3],mulOr5.uTemp[2],mulOr5.y,mulOr2.y,mulOr0.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 5 * 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.0001973/0.476, allocations: 157.5 kB / 1.176 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.368e-05/0.476, allocations: 15.86 kB / 1.176 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.409e-05/0.4761, allocations: 25.8 kB / 1.176 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.4761, allocations: 4 kB / 1.176 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.4761, allocations: 0 / 1.176 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.4761, allocations: 4 kB / 1.176 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005992/0.4767, allocations: 0.51 MB / 1.177 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.4767, allocations: 0 / 1.177 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.554e-05/0.4768, allocations: 15.92 kB / 1.177 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.4768, allocations: 96 / 1.177 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/0.4768, allocations: 12 kB / 1.177 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.4768, allocations: 0 / 1.177 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.4768, allocations: 0 / 1.177 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003258/0.4771, allocations: 289.2 kB / 1.177 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.258e-05/0.4772, allocations: 89.02 kB / 1.177 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.604e-05/0.4772, allocations: 8 kB / 1.177 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.757e-05/0.4773, allocations: 3.984 kB / 1.177 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.294e-05/0.4774, allocations: 15.98 kB / 1.177 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.702e-05/0.4774, allocations: 15.98 kB / 1.177 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.347e-05/0.4775, allocations: 116.2 kB / 1.177 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4775, allocations: 4 kB / 1.177 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003624/0.4779, allocations: 79.89 kB / 1.177 GB, free: 11.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: 20 (mulOr5.uTemp[2],$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulOr2.y,mulOr5.y,mulOr5.uTemp[3],mulOr5.uTemp[4],booPul1.y,booPul2.y,booPul3.y,booPul4.y,booPul5.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.000198/0.4781, allocations: 120.4 kB / 1.178 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0007818/0.4789, allocations: 0.6139 MB / 1.178 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.4789, allocations: 0 / 1.178 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001249/0.479, allocations: 83.17 kB / 1.178 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004165/0.4794, allocations: 47.89 kB / 1.178 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006182/0.4801, allocations: 319.9 kB / 1.179 GB, free: 9.883 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003405/0.4804, allocations: 0.732 MB / 1.179 GB, free: 9.125 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 7.915e-05/0.4805, allocations: 25.53 kB / 1.179 GB, free: 9.094 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.625e-05/0.4805, allocations: 19.38 kB / 1.179 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of SimCode: time 2.905e-06/0.4805, allocations: 0 / 1.179 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of Templates: time 0.008638/0.4892, allocations: 4.571 MB / 1.184 GB, free: 4.559 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches