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.001103/0.001102, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00125/0.00125, allocations: 192.5 kB / 16.25 MB, free: 6.633 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.466/1.466, allocations: 222.9 MB / 239.9 MB, free: 4.539 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.745/2.745, allocations: 390.2 MB / 0.6643 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 71.89 kB / 0.8121 GB, free: 14.75 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8436/0.8451, allocations: 140.4 MB / 0.9491 GB, free: 9.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.002256/0.8474, allocations: 0.8956 MB / 0.95 GB, free: 8.434 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001498/0.8489, allocations: 1.48 MB / 0.9514 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.369e-05/0.849, allocations: 1.625 kB / 0.9514 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001199/0.8491, allocations: 17.36 kB / 0.9515 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.314e-05/0.8492, allocations: 26.77 kB / 0.9515 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001084/0.8503, allocations: 496 kB / 0.952 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004613/0.8508, allocations: 0.4929 MB / 0.9524 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001469/0.8509, allocations: 40.42 kB / 0.9525 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002205/0.8511, allocations: 179.3 kB / 0.9526 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001864/0.8513, allocations: 144.6 kB / 0.9528 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.345e-05/0.8514, allocations: 39.78 kB / 0.9528 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001216/0.8516, allocations: 55.14 kB / 0.9529 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.155e-05/0.8516, allocations: 48.02 kB / 0.9529 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001695/0.8518, allocations: 159.4 kB / 0.9531 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003735/0.8522, allocations: 413.6 kB / 0.9535 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.8522, allocations: 0 / 0.9535 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.515e-06/0.8522, allocations: 0 / 0.9535 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.915e-06/0.8522, allocations: 5.156 kB / 0.9535 GB, free: 5.949 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.0007322/0.853, allocations: 0.6383 MB / 0.9541 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.853, allocations: 9.5 kB / 0.9541 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001026/0.8531, allocations: 27.97 kB / 0.9541 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000246/0.8534, allocations: 264.2 kB / 0.9544 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.124e-05/0.8534, allocations: 16.78 kB / 0.9544 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.389e-05/0.8535, allocations: 33.98 kB / 0.9544 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002387/0.8537, allocations: 157.8 kB / 0.9546 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.8537, allocations: 4.125 kB / 0.9546 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.697e-05/0.8537, allocations: 9.281 kB / 0.9546 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.8538, allocations: 2.781 kB / 0.9546 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001319/0.8539, allocations: 84 kB / 0.9547 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006959/0.8546, allocations: 0.709 MB / 0.9554 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001845/0.8548, allocations: 176.4 kB / 0.9555 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.522e-05/0.8549, allocations: 46.42 kB / 0.9556 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.252e-05/0.8549, allocations: 0 / 0.9556 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000268/0.8552, allocations: 163.2 kB / 0.9557 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=20): time 2.685e-06/0.8552, allocations: 1.156 kB / 0.9557 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20): time 0.0004589/0.8556, allocations: 243.9 kB / 0.956 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.079e-05/0.8557, allocations: 63.33 kB / 0.956 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001408/0.8558, allocations: 182.4 kB / 0.9562 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.628e-05/0.8559, allocations: 38.89 kB / 0.9562 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.65e-05/0.856, allocations: 127.6 kB / 0.9564 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.066e-05/0.856, allocations: 38.55 kB / 0.9564 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001933/0.8562, allocations: 113.2 kB / 0.9565 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.523e-05/0.8563, allocations: 331.5 kB / 0.9568 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002918/0.8566, allocations: 153.2 kB / 0.957 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003324/0.8569, allocations: 244.8 kB / 0.9572 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004036/0.8573, allocations: 398.1 kB / 0.9576 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.8574, allocations: 1.375 kB / 0.9576 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008997/0.8583, allocations: 0.626 MB / 0.9582 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.492e-05/0.8583, allocations: 161.1 kB / 0.9583 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.8584, allocations: 6.156 kB / 0.9584 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.572e-05/0.8584, allocations: 4.312 kB / 0.9584 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.314e-05/0.8584, allocations: 17.23 kB / 0.9584 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.211e-05/0.8585, allocations: 8.094 kB / 0.9584 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008591/0.8593, allocations: 143.4 kB / 0.9585 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.605e-05/0.8594, allocations: 35.44 kB / 0.9586 GB, free: 1.746 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.000172/0.8596, allocations: 155.3 kB / 0.9587 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.637e-05/0.8596, allocations: 15.31 kB / 0.9587 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.012e-05/0.8597, allocations: 21.5 kB / 0.9587 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/0.8597, allocations: 2.219 kB / 0.9587 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.8597, allocations: 96 / 0.9587 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.8597, allocations: 9.078 kB / 0.9587 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004961/0.8602, allocations: 0.5056 MB / 0.9592 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.8602, allocations: 3.938 kB / 0.9592 GB, free: 1.145 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.201e-05/0.8602, allocations: 7.5 kB / 0.9593 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.8603, allocations: 1.062 kB / 0.9593 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/0.8603, allocations: 10.17 kB / 0.9593 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.8603, allocations: 1.094 kB / 0.9593 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.8603, allocations: 1.125 kB / 0.9593 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002573/0.8606, allocations: 282.1 kB / 0.9595 GB, free: 0.9336 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.95e-05/0.8606, allocations: 96.47 kB / 0.9596 GB, free: 0.8242 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.459e-05/0.8606, allocations: 2.156 kB / 0.9596 GB, free: 0.8242 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.696e-05/0.8607, allocations: 5.125 kB / 0.9596 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.053e-05/0.8608, allocations: 20.56 kB / 0.9597 GB, free: 0.8086 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/0.8608, allocations: 10.25 kB / 0.9597 GB, free: 0.8047 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.255e-05/0.8608, allocations: 127.2 kB / 0.9598 GB, free: 0.7031 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8608, allocations: 0 / 0.9598 GB, free: 0.7031 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003718/0.8612, allocations: 92.73 kB / 0.9599 GB, free: 0.6797 MB / 0.7169 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.0001669/0.8614, allocations: 114.5 kB / 0.96 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0006718/0.8621, allocations: 0.6177 MB / 0.9606 GB, free: 104 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.8621, allocations: 0 / 0.9606 GB, free: 104 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001043/0.8622, allocations: 77.75 kB / 0.9607 GB, free: 72 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004023/0.8626, allocations: 51 kB / 0.9607 GB, free: 44 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006449/0.8633, allocations: 376.2 kB / 0.9611 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002901/0.8636, allocations: 0.7247 MB / 0.9618 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 6.775e-05/0.8636, allocations: 24.48 kB / 0.9618 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.543e-05/0.8637, allocations: 17.41 kB / 0.9618 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of SimCode: time 2.5e-07/0.8637, allocations: 3.938 kB / 0.9618 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of Templates: time 0.009157/0.8729, allocations: 4.526 MB / 0.9662 GB, free: 12.73 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