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.007226/0.007226, allocations: 100.9 kB / 15.73 MB, free: 5.988 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.001422/0.001423, allocations: 192.5 kB / 16.67 MB, free: 5.91 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.475/1.475, allocations: 222.9 MB / 240.4 MB, free: 4.148 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.487/2.487, allocations: 390.2 MB / 0.6648 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 64.3 kB / 0.9509 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3364/0.3377, allocations: 140.4 MB / 1.088 GB, free: 1.582 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.00259/0.3403, allocations: 0.8347 MB / 1.089 GB, free: 0.75 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002188/0.3425, allocations: 1.48 MB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.287e-05/0.3426, allocations: 0 / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001478/0.3428, allocations: 19.8 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.752e-05/0.3429, allocations: 31.7 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001286/0.3442, allocations: 0.5202 MB / 1.091 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006009/0.3448, allocations: 0.4953 MB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000172/0.345, allocations: 37.48 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002201/0.3452, allocations: 191.7 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002708/0.3455, allocations: 167.5 kB / 1.092 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.956e-05/0.3456, allocations: 40 kB / 1.092 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001352/0.3457, allocations: 63.97 kB / 1.092 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.251e-05/0.3458, allocations: 39.91 kB / 1.092 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002216/0.346, allocations: 155.5 kB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004539/0.3465, allocations: 418.8 kB / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.3465, allocations: 0 / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3465, allocations: 3.938 kB / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.3465, allocations: 0 / 1.092 GB, free: 13.1 MB / 0.8575 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.000814/0.3473, allocations: 0.6437 MB / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.3474, allocations: 11.97 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001073/0.3475, allocations: 36.73 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003389/0.3478, allocations: 265 kB / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.588e-05/0.3479, allocations: 16.38 kB / 1.093 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.128e-05/0.3479, allocations: 28.38 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002561/0.3482, allocations: 147.9 kB / 1.093 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.3482, allocations: 192 / 1.093 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.366e-05/0.3482, allocations: 15.92 kB / 1.093 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.3483, allocations: 0 / 1.093 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001515/0.3484, allocations: 83.89 kB / 1.094 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008892/0.3493, allocations: 0.7071 MB / 1.094 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002033/0.3495, allocations: 163.7 kB / 1.094 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.221e-05/0.3496, allocations: 48.83 kB / 1.094 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.39e-05/0.3496, allocations: 0 / 1.094 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002748/0.3499, allocations: 163.3 kB / 1.095 GB, free: 10.56 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=20): time 3.016e-06/0.3499, allocations: 3.984 kB / 1.095 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20): time 0.0004585/0.3504, allocations: 239.4 kB / 1.095 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.052e-05/0.3504, allocations: 63.34 kB / 1.095 GB, free: 10.24 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001555/0.3506, allocations: 182.8 kB / 1.095 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.802e-05/0.3507, allocations: 37.7 kB / 1.095 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.3508, allocations: 136.4 kB / 1.095 GB, free: 9.875 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.198e-05/0.3508, allocations: 35.55 kB / 1.095 GB, free: 9.84 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001821/0.351, allocations: 117.6 kB / 1.095 GB, free: 9.719 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.3512, allocations: 326.8 kB / 1.096 GB, free: 9.391 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000306/0.3515, allocations: 155.9 kB / 1.096 GB, free: 9.238 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003698/0.3518, allocations: 242.2 kB / 1.096 GB, free: 8.965 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00047/0.3523, allocations: 411.6 kB / 1.096 GB, free: 8.5 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.3523, allocations: 0 / 1.096 GB, free: 8.5 MB / 0.8575 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009444/0.3533, allocations: 0.6185 MB / 1.097 GB, free: 7.844 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001118/0.3534, allocations: 160.5 kB / 1.097 GB, free: 7.656 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.3534, allocations: 7.938 kB / 1.097 GB, free: 7.648 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.3534, allocations: 4 kB / 1.097 GB, free: 7.645 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.388e-05/0.3535, allocations: 11.94 kB / 1.097 GB, free: 7.633 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.3535, allocations: 7.984 kB / 1.097 GB, free: 7.625 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007479/0.3543, allocations: 140 kB / 1.097 GB, free: 7.488 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.293e-05/0.3543, allocations: 31.98 kB / 1.097 GB, free: 7.457 MB / 0.8575 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.0001753/0.3545, allocations: 157.8 kB / 1.098 GB, free: 7.293 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.376e-05/0.3545, allocations: 15.81 kB / 1.098 GB, free: 7.277 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.332e-05/0.3546, allocations: 21.91 kB / 1.098 GB, free: 7.258 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.3546, allocations: 7.938 kB / 1.098 GB, free: 7.25 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.3546, allocations: 0 / 1.098 GB, free: 7.25 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.3546, allocations: 3.984 kB / 1.098 GB, free: 7.246 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005444/0.3552, allocations: 0.5114 MB / 1.098 GB, free: 6.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.3552, allocations: 4.062 kB / 1.098 GB, free: 6.676 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.23e-05/0.3552, allocations: 8 kB / 1.098 GB, free: 6.668 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.3552, allocations: 0 / 1.098 GB, free: 6.668 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.817e-05/0.3552, allocations: 11.98 kB / 1.098 GB, free: 6.656 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.3553, allocations: 7.922 kB / 1.098 GB, free: 6.648 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3553, allocations: 0 / 1.098 GB, free: 6.648 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002889/0.3556, allocations: 283.1 kB / 1.098 GB, free: 6.355 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.755e-05/0.3556, allocations: 96.84 kB / 1.098 GB, free: 6.242 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.252e-05/0.3556, allocations: 8 kB / 1.098 GB, free: 6.234 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.449e-05/0.3557, allocations: 4 kB / 1.098 GB, free: 6.23 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.245e-05/0.3558, allocations: 19.97 kB / 1.099 GB, free: 6.211 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.415e-05/0.3558, allocations: 12 kB / 1.099 GB, free: 6.199 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.671e-05/0.3559, allocations: 112.2 kB / 1.099 GB, free: 6.09 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3559, allocations: 0 / 1.099 GB, free: 6.09 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003568/0.3562, allocations: 83.98 kB / 1.099 GB, free: 6.008 MB / 0.8575 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.0001884/0.3564, allocations: 115.2 kB / 1.099 GB, free: 5.887 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0007596/0.3572, allocations: 0.6163 MB / 1.099 GB, free: 5.211 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3572, allocations: 0 / 1.099 GB, free: 5.211 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001085/0.3573, allocations: 79.89 kB / 1.099 GB, free: 5.133 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004195/0.3578, allocations: 48.59 kB / 1.1 GB, free: 5.086 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005852/0.3584, allocations: 324.2 kB / 1.1 GB, free: 4.742 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003036/0.3587, allocations: 0.728 MB / 1.101 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.582e-05/0.3587, allocations: 33.47 kB / 1.101 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.774e-05/0.3588, allocations: 23.44 kB / 1.101 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of SimCode: time 2.61e-07/0.3588, allocations: 0 / 1.101 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of Templates: time 0.008281/0.3671, allocations: 4.572 MB / 1.105 GB, free: 15.41 MB / 0.8731 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