Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.0008601/0.0008602, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 183.8 kB / 16.92 MB, free: 6.754 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.476/1.476, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.585/2.585, allocations: 390.9 MB / 0.667 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003776/0.0003777, allocations: 12 kB / 0.8166 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7549/0.7553, allocations: 142.4 MB / 0.9557 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.0009942/0.7563, allocations: 0.5455 MB / 0.9563 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001791/0.7581, allocations: 1.527 MB / 0.9577 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.054e-05/0.7582, allocations: 5.406 kB / 0.9578 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001098/0.7583, allocations: 5.406 kB / 0.9578 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.382e-05/0.7584, allocations: 34.88 kB / 0.9578 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001108/0.7595, allocations: 0.4892 MB / 0.9583 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004033/0.7599, allocations: 430.8 kB / 0.9587 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001574/0.7601, allocations: 35.36 kB / 0.9587 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000164/0.7603, allocations: 152.1 kB / 0.9589 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001745/0.7604, allocations: 130.4 kB / 0.959 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.062e-05/0.7605, allocations: 21.31 kB / 0.959 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001157/0.7606, allocations: 40.02 kB / 0.959 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.671e-05/0.7607, allocations: 38.5 kB / 0.9591 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001841/0.7609, allocations: 164 kB / 0.9592 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000273/0.7612, allocations: 290 kB / 0.9595 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.7612, allocations: 0 / 0.9595 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.357e-06/0.7612, allocations: 1.188 kB / 0.9595 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.74e-06/0.7612, allocations: 4 kB / 0.9595 GB, free: 4.992 MB / 0.7169 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.000564/0.7618, allocations: 0.5675 MB / 0.9601 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.7618, allocations: 13.22 kB / 0.9601 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.989e-05/0.7619, allocations: 28.5 kB / 0.9601 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002844/0.7622, allocations: 255.6 kB / 0.9604 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.465e-05/0.7623, allocations: 20.69 kB / 0.9604 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.349e-05/0.7623, allocations: 33.11 kB / 0.9604 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002474/0.7626, allocations: 158 kB / 0.9606 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.7626, allocations: 1.562 kB / 0.9606 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.683e-05/0.7626, allocations: 5.312 kB / 0.9606 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.7626, allocations: 2.75 kB / 0.9606 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001342/0.7628, allocations: 79.95 kB / 0.9606 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007985/0.7636, allocations: 0.717 MB / 0.9613 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000204/0.7638, allocations: 169.7 kB / 0.9615 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.482e-05/0.7639, allocations: 46.05 kB / 0.9615 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.287e-05/0.7639, allocations: 2.156 kB / 0.9615 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002898/0.7642, allocations: 163 kB / 0.9617 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=20): time 1.733e-06/0.7642, allocations: 1.156 kB / 0.9617 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20): time 0.0005017/0.7647, allocations: 239.3 kB / 0.9619 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.179e-05/0.7648, allocations: 59.27 kB / 0.962 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001688/0.765, allocations: 183.4 kB / 0.9622 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.089e-05/0.765, allocations: 38.7 kB / 0.9622 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/0.7651, allocations: 131.6 kB / 0.9623 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.653e-05/0.7652, allocations: 42.41 kB / 0.9624 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.092e-05/0.7653, allocations: 48.08 kB / 0.9624 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.738e-05/0.7654, allocations: 331.2 kB / 0.9627 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003278/0.7657, allocations: 157.4 kB / 0.9629 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003597/0.7661, allocations: 236.7 kB / 0.9631 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004566/0.7665, allocations: 405.7 kB / 0.9635 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.7665, allocations: 1.312 kB / 0.9635 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001034/0.7676, allocations: 0.6277 MB / 0.9641 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.238e-05/0.7677, allocations: 163.5 kB / 0.9643 GB, free: 0.9414 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.7677, allocations: 6.75 kB / 0.9643 GB, free: 0.9375 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.518e-05/0.7677, allocations: 8.578 kB / 0.9643 GB, free: 0.9336 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.995e-05/0.7678, allocations: 13.09 kB / 0.9643 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/0.7678, allocations: 3.906 kB / 0.9643 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009544/0.7688, allocations: 202.2 kB / 0.9645 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.664e-05/0.7688, allocations: 34.38 kB / 0.9645 GB, free: 0.8438 MB / 0.7169 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.000163/0.769, allocations: 151.1 kB / 0.9647 GB, free: 0.7109 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.437e-05/0.769, allocations: 15.69 kB / 0.9647 GB, free: 0.7031 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.397e-05/0.7691, allocations: 25.31 kB / 0.9647 GB, free: 0.6875 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.7691, allocations: 6.797 kB / 0.9647 GB, free: 0.6836 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.7691, allocations: 64 / 0.9647 GB, free: 0.6836 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.7691, allocations: 4 kB / 0.9647 GB, free: 0.6797 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005024/0.7696, allocations: 0.5113 MB / 0.9652 GB, free: 248 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.7696, allocations: 0 / 0.9652 GB, free: 248 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.769e-05/0.7697, allocations: 7.578 kB / 0.9652 GB, free: 244 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.7697, allocations: 0 / 0.9652 GB, free: 244 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.7697, allocations: 7.5 kB / 0.9652 GB, free: 240 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.7697, allocations: 4 kB / 0.9652 GB, free: 236 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.7697, allocations: 0 / 0.9652 GB, free: 236 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002417/0.7699, allocations: 288.6 kB / 0.9655 GB, free: 24 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 8.451e-05/0.77, allocations: 89.7 kB / 0.9656 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.675e-05/0.7701, allocations: 2.406 kB / 0.9656 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.983e-05/0.7701, allocations: 9.297 kB / 0.9656 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.597e-05/0.7702, allocations: 16.3 kB / 0.9656 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.618e-05/0.7702, allocations: 9.703 kB / 0.9656 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.567e-05/0.7703, allocations: 127.7 kB / 0.9657 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7703, allocations: 0 / 0.9657 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003945/0.7707, allocations: 88.59 kB / 0.9658 GB, free: 15.78 MB / 0.7325 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.000197/0.7709, allocations: 114.3 kB / 0.9659 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008296/0.7718, allocations: 0.6065 MB / 0.9665 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.7718, allocations: 4.125 kB / 0.9665 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001385/0.7719, allocations: 80.19 kB / 0.9666 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004599/0.7724, allocations: 53.58 kB / 0.9667 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007226/0.7731, allocations: 411 kB / 0.9671 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003364/0.7735, allocations: 0.7254 MB / 0.9678 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.468e-05/0.7735, allocations: 17.69 kB / 0.9678 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.7735, allocations: 0 / 0.9678 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of Templates: time 0.006484/0.78, allocations: 3.306 MB / 0.971 GB, free: 12.39 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference: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 Variables in the result: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,time