Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.008358/0.008358, allocations: 101.5 kB / 15.73 MB, free: 5.965 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.00148/0.00148, allocations: 192.9 kB / 16.67 MB, free: 5.887 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.376/1.376, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.589/2.589, allocations: 469.8 MB / 0.7425 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 72.06 kB / 1.065 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.968/0.9693, allocations: 159.1 MB / 1.221 GB, free: 2.133 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.002258/0.9716, allocations: 0.8279 MB / 1.221 GB, free: 1.309 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002174/0.9737, allocations: 1.478 MB / 1.223 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001022/0.9738, allocations: 3.938 kB / 1.223 GB, free: 15.81 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001489/0.974, allocations: 27.73 kB / 1.223 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 8.231e-05/0.9741, allocations: 39.64 kB / 1.223 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001522/0.9756, allocations: 0.5097 MB / 1.223 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0006248/0.9762, allocations: 479.2 kB / 1.224 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001523/0.9764, allocations: 37.44 kB / 1.224 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001982/0.9766, allocations: 187.7 kB / 1.224 GB, free: 14.56 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002515/0.9768, allocations: 167.5 kB / 1.224 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 6.412e-05/0.9769, allocations: 40 kB / 1.224 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001237/0.977, allocations: 59.92 kB / 1.224 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 7.533e-05/0.9771, allocations: 47.83 kB / 1.224 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001991/0.9773, allocations: 159.5 kB / 1.225 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0005116/0.9778, allocations: 411.3 kB / 1.225 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 7.755e-06/0.9778, allocations: 0 / 1.225 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.924e-06/0.9778, allocations: 4 kB / 1.225 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.516e-06/0.9778, allocations: 3.938 kB / 1.225 GB, free: 13.69 MB / 0.9512 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.0008932/0.9787, allocations: 0.6514 MB / 1.226 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.9787, allocations: 8.031 kB / 1.226 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001036/0.9788, allocations: 28.84 kB / 1.226 GB, free: 12.92 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004419/0.9793, allocations: 264.5 kB / 1.226 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.218e-05/0.9793, allocations: 16.38 kB / 1.226 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.873e-05/0.9794, allocations: 36.36 kB / 1.226 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002602/0.9796, allocations: 153 kB / 1.226 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.9797, allocations: 4.125 kB / 1.226 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.108e-05/0.9797, allocations: 7.938 kB / 1.226 GB, free: 12.4 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/0.9797, allocations: 8 kB / 1.226 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001463/0.9798, allocations: 79.95 kB / 1.226 GB, free: 12.31 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001003/0.9808, allocations: 0.707 MB / 1.227 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002236/0.9811, allocations: 163.6 kB / 1.227 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.014e-05/0.9811, allocations: 44.86 kB / 1.227 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.665e-05/0.9811, allocations: 4 kB / 1.227 GB, free: 11.31 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002347/0.9814, allocations: 149.5 kB / 1.227 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=20): time 1.613e-06/0.9814, allocations: 8.125 kB / 1.227 GB, free: 11.15 MB / 0.9512 GB Notification: Performance of matching and sorting (n=20): time 0.0004707/0.9819, allocations: 249.3 kB / 1.227 GB, free: 10.9 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.593e-05/0.9819, allocations: 59.41 kB / 1.228 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002128/0.9821, allocations: 182.2 kB / 1.228 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 6.084e-05/0.9822, allocations: 41.7 kB / 1.228 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/0.9823, allocations: 120.6 kB / 1.228 GB, free: 10.47 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.317e-05/0.9823, allocations: 51.62 kB / 1.228 GB, free: 10.42 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001983/0.9825, allocations: 113.6 kB / 1.228 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.9827, allocations: 334.8 kB / 1.228 GB, free: 9.969 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003162/0.983, allocations: 155.9 kB / 1.228 GB, free: 9.816 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004749/0.9835, allocations: 245.6 kB / 1.229 GB, free: 9.543 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005701/0.984, allocations: 406.6 kB / 1.229 GB, free: 9.078 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.984, allocations: 0 / 1.229 GB, free: 9.078 MB / 0.9512 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000983/0.985, allocations: 0.6281 MB / 1.23 GB, free: 8.414 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001155/0.9851, allocations: 160.5 kB / 1.23 GB, free: 8.227 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.667e-06/0.9852, allocations: 3.938 kB / 1.23 GB, free: 8.223 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.109e-05/0.9852, allocations: 4 kB / 1.23 GB, free: 8.219 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.076e-05/0.9852, allocations: 15.92 kB / 1.23 GB, free: 8.203 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.9852, allocations: 7.938 kB / 1.23 GB, free: 8.195 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007304/0.986, allocations: 143.7 kB / 1.23 GB, free: 8.055 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.246e-05/0.986, allocations: 31.97 kB / 1.23 GB, free: 8.023 MB / 0.9512 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.0002383/0.9863, allocations: 162.2 kB / 1.23 GB, free: 7.855 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.553e-05/0.9863, allocations: 19.91 kB / 1.23 GB, free: 7.836 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.687e-05/0.9863, allocations: 17.81 kB / 1.23 GB, free: 7.812 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.9863, allocations: 4 kB / 1.23 GB, free: 7.809 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.9863, allocations: 0 / 1.23 GB, free: 7.809 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.9863, allocations: 3.984 kB / 1.23 GB, free: 7.805 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005515/0.9869, allocations: 0.5006 MB / 1.231 GB, free: 7.25 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.9869, allocations: 0 / 1.231 GB, free: 7.25 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.58e-05/0.987, allocations: 7.938 kB / 1.231 GB, free: 7.242 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.987, allocations: 0 / 1.231 GB, free: 7.242 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.812e-05/0.987, allocations: 11.98 kB / 1.231 GB, free: 7.23 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.987, allocations: 8.062 kB / 1.231 GB, free: 7.223 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.987, allocations: 3.938 kB / 1.231 GB, free: 7.219 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002985/0.9873, allocations: 279.3 kB / 1.231 GB, free: 6.93 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.261e-05/0.9873, allocations: 96.95 kB / 1.231 GB, free: 6.816 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.689e-05/0.9874, allocations: 4 kB / 1.231 GB, free: 6.812 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.31e-05/0.9874, allocations: 0 / 1.231 GB, free: 6.812 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.998e-05/0.9875, allocations: 27.92 kB / 1.231 GB, free: 6.785 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.114e-05/0.9875, allocations: 11.94 kB / 1.231 GB, free: 6.773 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 8.501e-05/0.9876, allocations: 132.2 kB / 1.231 GB, free: 6.645 MB / 0.9512 GB Notification: Performance of sort global known variables: time 9e-08/0.9876, allocations: 0 / 1.231 GB, free: 6.645 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003557/0.988, allocations: 79.98 kB / 1.231 GB, free: 6.566 MB / 0.9512 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.0002189/0.9882, allocations: 116 kB / 1.231 GB, free: 6.445 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0007398/0.9889, allocations: 0.55 MB / 1.232 GB, free: 5.836 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.9889, allocations: 4 kB / 1.232 GB, free: 5.832 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001102/0.989, allocations: 67.89 kB / 1.232 GB, free: 5.766 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004332/0.9895, allocations: 55.81 kB / 1.232 GB, free: 5.711 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006913/0.9902, allocations: 328.1 kB / 1.232 GB, free: 5.363 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004061/0.9906, allocations: 0.728 MB / 1.233 GB, free: 4.609 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 6.634e-05/0.9906, allocations: 17.55 kB / 1.233 GB, free: 4.594 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.403e-05/0.9907, allocations: 23.44 kB / 1.233 GB, free: 4.57 MB / 0.9512 GB Notification: Performance of SimCode: time 5.31e-07/0.9907, allocations: 0 / 1.233 GB, free: 4.57 MB / 0.9512 GB Notification: Performance of Templates: time 0.008738/0.9994, allocations: 4.584 MB / 1.238 GB, free: 52 kB / 0.9512 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches