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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001051/0.001051, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.008752/0.008752, allocations: 170.9 kB / 16.26 MB, free: 6.613 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.465/1.465, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.545/2.545, allocations: 390.9 MB / 0.6663 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000365/0.0003651, allocations: 15.98 kB / 0.816 GB, free: 13.28 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.771/0.7714, allocations: 142.4 MB / 0.9551 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.0009007/0.7724, allocations: 0.5451 MB / 0.9556 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001638/0.774, allocations: 1.524 MB / 0.9571 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.34e-05/0.7741, allocations: 2.281 kB / 0.9571 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001001/0.7742, allocations: 15.86 kB / 0.9571 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.862e-05/0.7743, allocations: 23.53 kB / 0.9571 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001086/0.7754, allocations: 498.7 kB / 0.9576 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003911/0.7758, allocations: 417.3 kB / 0.958 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001478/0.7759, allocations: 42.62 kB / 0.958 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002133/0.7762, allocations: 168.4 kB / 0.9582 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001673/0.7763, allocations: 129.8 kB / 0.9583 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.288e-05/0.7764, allocations: 22.03 kB / 0.9583 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001146/0.7765, allocations: 35.83 kB / 0.9584 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.843e-05/0.7766, allocations: 39.19 kB / 0.9584 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001545/0.7768, allocations: 164 kB / 0.9586 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003291/0.7771, allocations: 378.7 kB / 0.9589 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.7771, allocations: 1.375 kB / 0.9589 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.563e-06/0.7771, allocations: 0 / 0.9589 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.378e-06/0.7771, allocations: 0 / 0.9589 GB, free: 5.223 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.0006081/0.7777, allocations: 0.5828 MB / 0.9595 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.7778, allocations: 9.625 kB / 0.9595 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001086/0.7779, allocations: 28 kB / 0.9595 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002499/0.7782, allocations: 255.7 kB / 0.9598 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.978e-05/0.7782, allocations: 18.12 kB / 0.9598 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.046e-05/0.7783, allocations: 33.11 kB / 0.9598 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002276/0.7785, allocations: 158 kB / 0.96 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.7785, allocations: 192 / 0.96 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.738e-05/0.7785, allocations: 9.312 kB / 0.96 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.7786, allocations: 6.75 kB / 0.96 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001228/0.7787, allocations: 79.95 kB / 0.9601 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000717/0.7794, allocations: 0.7162 MB / 0.9608 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001856/0.7796, allocations: 170.8 kB / 0.9609 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.542e-05/0.7797, allocations: 46.77 kB / 0.961 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.457e-05/0.7797, allocations: 1.219 kB / 0.961 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002594/0.78, allocations: 164 kB / 0.9611 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=20): time 2.495e-06/0.78, allocations: 0 / 0.9611 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20): time 0.0005107/0.7805, allocations: 243.8 kB / 0.9614 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.455e-05/0.7806, allocations: 63.64 kB / 0.9614 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001838/0.7807, allocations: 178.1 kB / 0.9616 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.132e-05/0.7808, allocations: 39.36 kB / 0.9616 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.7809, allocations: 123.9 kB / 0.9618 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.39e-05/0.781, allocations: 42.03 kB / 0.9618 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.525e-05/0.7811, allocations: 56.72 kB / 0.9618 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.686e-05/0.7811, allocations: 326.1 kB / 0.9622 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003066/0.7814, allocations: 162.3 kB / 0.9623 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003234/0.7818, allocations: 233.1 kB / 0.9625 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004202/0.7822, allocations: 408.6 kB / 0.9629 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.7822, allocations: 1.25 kB / 0.9629 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009339/0.7831, allocations: 0.6242 MB / 0.9635 GB, free: 1.332 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 8.628e-05/0.7832, allocations: 168.7 kB / 0.9637 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.7833, allocations: 6.5 kB / 0.9637 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/0.7833, allocations: 3.688 kB / 0.9637 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.232e-05/0.7833, allocations: 9.281 kB / 0.9637 GB, free: 1.145 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.707e-06/0.7833, allocations: 4.594 kB / 0.9637 GB, free: 1.145 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009155/0.7843, allocations: 200.8 kB / 0.9639 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.448e-05/0.7843, allocations: 35.31 kB / 0.9639 GB, free: 1.062 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.0001462/0.7845, allocations: 151.9 kB / 0.9641 GB, free: 0.9297 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.275e-05/0.7845, allocations: 14.59 kB / 0.9641 GB, free: 0.9219 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.14e-05/0.7846, allocations: 26.86 kB / 0.9641 GB, free: 0.9062 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.7846, allocations: 0 / 0.9641 GB, free: 0.9062 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.257e-06/0.7846, allocations: 3.938 kB / 0.9641 GB, free: 0.9062 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.7846, allocations: 4 kB / 0.9641 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004532/0.7851, allocations: 0.5028 MB / 0.9646 GB, free: 480 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.7851, allocations: 0.9688 kB / 0.9646 GB, free: 480 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.99e-05/0.7851, allocations: 10.92 kB / 0.9646 GB, free: 472 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.7851, allocations: 0.9062 kB / 0.9646 GB, free: 472 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.7851, allocations: 3.062 kB / 0.9646 GB, free: 472 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.7851, allocations: 0.8125 kB / 0.9646 GB, free: 472 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.7851, allocations: 0 / 0.9646 GB, free: 472 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002621/0.7854, allocations: 298 kB / 0.9649 GB, free: 252 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.342e-05/0.7854, allocations: 89.3 kB / 0.965 GB, free: 148 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.427e-05/0.7855, allocations: 6.281 kB / 0.965 GB, free: 144 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.752e-05/0.7855, allocations: 9.359 kB / 0.965 GB, free: 136 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.632e-05/0.7856, allocations: 19.56 kB / 0.965 GB, free: 124 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.518e-05/0.7856, allocations: 14.8 kB / 0.9651 GB, free: 116 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.015e-05/0.7857, allocations: 123.2 kB / 0.9652 GB, free: 16 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7857, allocations: 0 / 0.9652 GB, free: 16 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003916/0.7861, allocations: 89.84 kB / 0.9653 GB, free: 15.99 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.0001783/0.7863, allocations: 109.2 kB / 0.9654 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007793/0.7871, allocations: 0.6114 MB / 0.966 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.7871, allocations: 0.6875 kB / 0.966 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001316/0.7872, allocations: 84.47 kB / 0.966 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004207/0.7877, allocations: 53.14 kB / 0.9661 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006013/0.7883, allocations: 367.5 kB / 0.9664 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002969/0.7886, allocations: 0.7318 MB / 0.9672 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.017e-05/0.7887, allocations: 25.28 kB / 0.9672 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.885e-05/0.7887, allocations: 21.69 kB / 0.9672 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of SimCode: time 2.6e-07/0.7887, allocations: 0 / 0.9672 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of Templates: time 0.008277/0.797, allocations: 4.321 MB / 0.9714 GB, free: 12.15 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches