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.01017/0.01017, allocations: 101.3 kB / 15.73 MB, free: 5.586 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.001912/0.001912, allocations: 189.1 kB / 16.67 MB, free: 5.523 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.422/1.422, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.738/2.738, allocations: 461.9 MB / 0.7348 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 63.91 kB / 1.054 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.001/1.002, allocations: 157.4 MB / 1.208 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.00253/1.005, allocations: 0.8175 MB / 1.209 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002275/1.007, allocations: 1.478 MB / 1.21 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001324/1.007, allocations: 4 kB / 1.21 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001577/1.008, allocations: 23.73 kB / 1.21 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001017/1.008, allocations: 39.64 kB / 1.21 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001565/1.009, allocations: 0.5128 MB / 1.211 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0009166/1.01, allocations: 0.4915 MB / 1.211 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001826/1.01, allocations: 49.44 kB / 1.211 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003583/1.011, allocations: 191.7 kB / 1.211 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003668/1.011, allocations: 171.5 kB / 1.211 GB, free: 9.805 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001173/1.011, allocations: 40 kB / 1.211 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001546/1.011, allocations: 55.98 kB / 1.212 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 7.533e-05/1.011, allocations: 47.83 kB / 1.212 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000229/1.012, allocations: 159.5 kB / 1.212 GB, free: 9.508 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0005454/1.012, allocations: 410.7 kB / 1.212 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/1.012, allocations: 0 / 1.212 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.904e-06/1.012, allocations: 0 / 1.212 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.209e-05/1.012, allocations: 0 / 1.212 GB, free: 9.109 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.001017/1.013, allocations: 0.6417 MB / 1.213 GB, free: 8.387 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/1.013, allocations: 15.97 kB / 1.213 GB, free: 8.371 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00012/1.014, allocations: 32.73 kB / 1.213 GB, free: 8.34 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003635/1.014, allocations: 261.2 kB / 1.213 GB, free: 8.047 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.628e-05/1.014, allocations: 20.38 kB / 1.213 GB, free: 8.027 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.141e-05/1.014, allocations: 28.38 kB / 1.213 GB, free: 8 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003446/1.014, allocations: 155.8 kB / 1.213 GB, free: 7.836 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/1.014, allocations: 192 / 1.213 GB, free: 7.836 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.623e-05/1.014, allocations: 15.92 kB / 1.213 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/1.014, allocations: 3.984 kB / 1.213 GB, free: 7.816 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001738/1.015, allocations: 79.95 kB / 1.213 GB, free: 7.738 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001103/1.016, allocations: 0.7031 MB / 1.214 GB, free: 6.98 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002424/1.016, allocations: 171.7 kB / 1.214 GB, free: 6.785 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.865e-05/1.016, allocations: 48.83 kB / 1.214 GB, free: 6.734 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.596e-05/1.016, allocations: 0 / 1.214 GB, free: 6.734 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003447/1.016, allocations: 161 kB / 1.214 GB, free: 6.566 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=20): time 1.813e-06/1.016, allocations: 0 / 1.214 GB, free: 6.566 MB / 0.9356 GB Notification: Performance of matching and sorting (n=20): time 0.0005181/1.017, allocations: 243.7 kB / 1.215 GB, free: 6.324 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.858e-05/1.017, allocations: 59.41 kB / 1.215 GB, free: 6.254 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002013/1.017, allocations: 190.7 kB / 1.215 GB, free: 6.055 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.809e-05/1.017, allocations: 37.7 kB / 1.215 GB, free: 6.012 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001317/1.017, allocations: 128.4 kB / 1.215 GB, free: 5.883 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.48e-05/1.018, allocations: 39.62 kB / 1.215 GB, free: 5.844 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001912/1.018, allocations: 121.6 kB / 1.215 GB, free: 5.719 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001749/1.018, allocations: 326.8 kB / 1.215 GB, free: 5.391 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003099/1.018, allocations: 155.8 kB / 1.216 GB, free: 5.238 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004022/1.019, allocations: 246 kB / 1.216 GB, free: 4.961 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005148/1.019, allocations: 414.7 kB / 1.216 GB, free: 4.492 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/1.019, allocations: 0 / 1.216 GB, free: 4.492 MB / 0.9356 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001033/1.02, allocations: 0.6225 MB / 1.217 GB, free: 3.832 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001538/1.02, allocations: 160.5 kB / 1.217 GB, free: 3.645 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.384e-05/1.02, allocations: 7.938 kB / 1.217 GB, free: 3.637 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.574e-05/1.02, allocations: 4 kB / 1.217 GB, free: 3.633 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.099e-05/1.02, allocations: 8 kB / 1.217 GB, free: 3.625 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.545e-05/1.02, allocations: 11.92 kB / 1.217 GB, free: 3.613 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007266/1.021, allocations: 136 kB / 1.217 GB, free: 3.48 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.211e-05/1.021, allocations: 27.98 kB / 1.217 GB, free: 3.453 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.0001786/1.021, allocations: 161.8 kB / 1.217 GB, free: 3.285 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.256e-05/1.021, allocations: 15.81 kB / 1.217 GB, free: 3.27 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.512e-05/1.022, allocations: 21.81 kB / 1.217 GB, free: 3.246 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/1.022, allocations: 4 kB / 1.217 GB, free: 3.242 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/1.022, allocations: 0 / 1.217 GB, free: 3.242 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/1.022, allocations: 3.984 kB / 1.217 GB, free: 3.238 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005571/1.022, allocations: 0.5099 MB / 1.218 GB, free: 2.672 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/1.022, allocations: 0 / 1.218 GB, free: 2.672 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.063e-05/1.022, allocations: 8 kB / 1.218 GB, free: 2.664 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/1.022, allocations: 0 / 1.218 GB, free: 2.664 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.486e-05/1.022, allocations: 11.98 kB / 1.218 GB, free: 2.652 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/1.022, allocations: 0 / 1.218 GB, free: 2.652 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/1.022, allocations: 0 / 1.218 GB, free: 2.652 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002902/1.023, allocations: 281.4 kB / 1.218 GB, free: 2.363 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.91e-05/1.023, allocations: 92.97 kB / 1.218 GB, free: 2.254 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.722e-05/1.023, allocations: 12 kB / 1.218 GB, free: 2.242 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.438e-05/1.023, allocations: 8 kB / 1.218 GB, free: 2.234 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.292e-05/1.023, allocations: 19.97 kB / 1.218 GB, free: 2.215 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/1.023, allocations: 8 kB / 1.218 GB, free: 2.207 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.019e-05/1.023, allocations: 115.2 kB / 1.218 GB, free: 2.094 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.733e-06/1.023, allocations: 0 / 1.218 GB, free: 2.094 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003616/1.023, allocations: 91.86 kB / 1.219 GB, free: 2.004 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.000192/1.023, allocations: 103.2 kB / 1.219 GB, free: 1.895 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0008495/1.024, allocations: 0.6217 MB / 1.219 GB, free: 1.211 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/1.024, allocations: 4 kB / 1.219 GB, free: 1.207 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001275/1.024, allocations: 71.91 kB / 1.219 GB, free: 1.137 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004265/1.025, allocations: 58.7 kB / 1.219 GB, free: 1.082 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006884/1.026, allocations: 324.3 kB / 1.22 GB, free: 0.7422 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005891/1.026, allocations: 0.7242 MB / 1.22 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 7.566e-05/1.026, allocations: 29.53 kB / 1.22 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.234e-05/1.026, allocations: 23.44 kB / 1.22 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of SimCode: time 2e-07/1.026, allocations: 0 / 1.22 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of Templates: time 0.008721/1.035, allocations: 4.565 MB / 1.225 GB, free: 11.44 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches