Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001313/0.001313, allocations: 105.5 kB / 16.41 MB, free: 6.461 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.001371/0.001371, allocations: 187 kB / 17.34 MB, free: 5.719 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.314/1.314, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.486/2.486, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 63.91 kB / 1.055 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7355/0.7368, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.002108/0.7389, allocations: 0.8318 MB / 1.209 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001883/0.7408, allocations: 1.478 MB / 1.211 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001007/0.7409, allocations: 4 kB / 1.211 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001308/0.7411, allocations: 19.8 kB / 1.211 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.275e-05/0.7412, allocations: 35.64 kB / 1.211 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001287/0.7425, allocations: 0.5248 MB / 1.211 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.00064/0.7431, allocations: 0.4953 MB / 1.212 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001567/0.7433, allocations: 45.44 kB / 1.212 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002495/0.7436, allocations: 183.7 kB / 1.212 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002356/0.7438, allocations: 171.5 kB / 1.212 GB, free: 9.828 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 7.581e-05/0.7439, allocations: 40 kB / 1.212 GB, free: 9.789 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001217/0.744, allocations: 51.94 kB / 1.212 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 5.454e-05/0.7441, allocations: 47.83 kB / 1.212 GB, free: 9.691 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001584/0.7442, allocations: 159.5 kB / 1.212 GB, free: 9.535 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003784/0.7446, allocations: 410.7 kB / 1.213 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.7446, allocations: 0 / 1.213 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.492e-06/0.7446, allocations: 0 / 1.213 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.132e-06/0.7447, allocations: 4 kB / 1.213 GB, free: 9.133 MB / 0.9356 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.0007045/0.7454, allocations: 0.6456 MB / 1.213 GB, free: 8.406 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.7454, allocations: 15.97 kB / 1.213 GB, free: 8.391 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.333e-05/0.7455, allocations: 32.75 kB / 1.213 GB, free: 8.359 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002878/0.7458, allocations: 265.1 kB / 1.214 GB, free: 8.062 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.346e-05/0.7458, allocations: 16.38 kB / 1.214 GB, free: 8.047 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.575e-05/0.7459, allocations: 32.36 kB / 1.214 GB, free: 8.016 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002386/0.7461, allocations: 155.8 kB / 1.214 GB, free: 7.852 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.7462, allocations: 4.188 kB / 1.214 GB, free: 7.848 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.746e-05/0.7462, allocations: 11.88 kB / 1.214 GB, free: 7.836 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.7462, allocations: 4 kB / 1.214 GB, free: 7.832 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001335/0.7463, allocations: 79.95 kB / 1.214 GB, free: 7.754 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007775/0.7471, allocations: 0.6953 MB / 1.215 GB, free: 7.004 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000186/0.7473, allocations: 175.6 kB / 1.215 GB, free: 6.805 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.709e-05/0.7474, allocations: 44.83 kB / 1.215 GB, free: 6.758 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.496e-06/0.7474, allocations: 4 kB / 1.215 GB, free: 6.754 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002535/0.7477, allocations: 160.5 kB / 1.215 GB, free: 6.586 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=20): time 1.363e-06/0.7477, allocations: 0 / 1.215 GB, free: 6.586 MB / 0.9356 GB Notification: Performance of matching and sorting (n=20): time 0.0004179/0.7481, allocations: 247.5 kB / 1.215 GB, free: 6.34 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.2e-05/0.7482, allocations: 59.39 kB / 1.215 GB, free: 6.27 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001474/0.7483, allocations: 186.7 kB / 1.216 GB, free: 6.074 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.836e-05/0.7484, allocations: 37.7 kB / 1.216 GB, free: 6.031 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.7485, allocations: 132.4 kB / 1.216 GB, free: 5.898 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.098e-05/0.7485, allocations: 35.5 kB / 1.216 GB, free: 5.863 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001722/0.7487, allocations: 113.6 kB / 1.216 GB, free: 5.746 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.7488, allocations: 330.8 kB / 1.216 GB, free: 5.414 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002847/0.7491, allocations: 167.8 kB / 1.216 GB, free: 5.25 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003255/0.7494, allocations: 242.9 kB / 1.217 GB, free: 4.977 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004163/0.7499, allocations: 406.1 kB / 1.217 GB, free: 4.516 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.7499, allocations: 0 / 1.217 GB, free: 4.516 MB / 0.9356 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008762/0.7508, allocations: 0.6147 MB / 1.218 GB, free: 3.863 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 8.995e-05/0.7509, allocations: 160.8 kB / 1.218 GB, free: 3.676 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.7509, allocations: 11.94 kB / 1.218 GB, free: 3.664 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.7509, allocations: 4 kB / 1.218 GB, free: 3.66 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.78e-05/0.7509, allocations: 15.92 kB / 1.218 GB, free: 3.645 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.751, allocations: 7.938 kB / 1.218 GB, free: 3.637 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007219/0.7517, allocations: 135.7 kB / 1.218 GB, free: 3.504 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.957e-05/0.7517, allocations: 35.97 kB / 1.218 GB, free: 3.469 MB / 0.9356 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.0001587/0.7519, allocations: 145.8 kB / 1.218 GB, free: 3.316 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.226e-05/0.7519, allocations: 19.75 kB / 1.218 GB, free: 3.297 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.171e-05/0.752, allocations: 21.91 kB / 1.218 GB, free: 3.273 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.752, allocations: 15.92 kB / 1.218 GB, free: 3.258 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.752, allocations: 0 / 1.218 GB, free: 3.258 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.752, allocations: 0 / 1.218 GB, free: 3.258 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005355/0.7526, allocations: 0.506 MB / 1.219 GB, free: 2.695 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.7526, allocations: 64 / 1.219 GB, free: 2.695 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.566e-05/0.7526, allocations: 15.92 kB / 1.219 GB, free: 2.68 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.7526, allocations: 0 / 1.219 GB, free: 2.68 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.7526, allocations: 4 kB / 1.219 GB, free: 2.676 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.7526, allocations: 4 kB / 1.219 GB, free: 2.672 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.7526, allocations: 0 / 1.219 GB, free: 2.672 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002796/0.7529, allocations: 289.6 kB / 1.219 GB, free: 2.375 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.372e-05/0.753, allocations: 88.92 kB / 1.219 GB, free: 2.27 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.219e-05/0.753, allocations: 0 / 1.219 GB, free: 2.27 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.595e-05/0.7531, allocations: 11.98 kB / 1.219 GB, free: 2.258 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.869e-05/0.7531, allocations: 15.98 kB / 1.219 GB, free: 2.242 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.098e-05/0.7531, allocations: 12 kB / 1.219 GB, free: 2.23 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.308e-05/0.7532, allocations: 115.2 kB / 1.219 GB, free: 2.117 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.976e-06/0.7532, allocations: 4 kB / 1.219 GB, free: 2.113 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003423/0.7536, allocations: 91.81 kB / 1.219 GB, free: 2.023 MB / 0.9356 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.0001627/0.7537, allocations: 107.2 kB / 1.219 GB, free: 1.91 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0007138/0.7545, allocations: 0.6107 MB / 1.22 GB, free: 1.238 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.7545, allocations: 4 kB / 1.22 GB, free: 1.234 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001147/0.7546, allocations: 83.97 kB / 1.22 GB, free: 1.152 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003894/0.755, allocations: 47.83 kB / 1.22 GB, free: 1.105 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005312/0.7555, allocations: 359.6 kB / 1.22 GB, free: 0.7266 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002837/0.7558, allocations: 0.7281 MB / 1.221 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.9e-05/0.7559, allocations: 23.38 kB / 1.221 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of SimCode: time 2.31e-07/0.7559, allocations: 0 / 1.221 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of Templates: time 0.005455/0.7614, allocations: 3.345 MB / 1.224 GB, free: 12.64 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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