Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001431/0.001431, allocations: 77.7 kB / 19.76 MB, free: 2.031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001757/0.001757, allocations: 157.9 kB / 23.01 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.528/1.528, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.784/2.784, allocations: 377.9 MB / 0.6228 GB, free: 12.62 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002448/0.002448, allocations: 71.91 kB / 0.982 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9655/0.968, allocations: 176.1 MB / 1.154 GB, free: 33.34 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.001802/0.9698, allocations: 0.8064 MB / 1.155 GB, free: 32.84 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001463/0.9712, allocations: 1.497 MB / 1.156 GB, free: 31.77 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.987e-05/0.9713, allocations: 6.656 kB / 1.156 GB, free: 31.77 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001094/0.9714, allocations: 18.77 kB / 1.156 GB, free: 31.75 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 5.464e-05/0.9715, allocations: 28.62 kB / 1.156 GB, free: 31.73 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001029/0.9725, allocations: 0.5248 MB / 1.157 GB, free: 31.47 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0003896/0.9729, allocations: 475.1 kB / 1.157 GB, free: 31.27 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.973, allocations: 31.16 kB / 1.157 GB, free: 31.25 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001283/0.9731, allocations: 185.2 kB / 1.157 GB, free: 31.18 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002127/0.9733, allocations: 154 kB / 1.158 GB, free: 31.13 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 6.47e-05/0.9734, allocations: 43.75 kB / 1.158 GB, free: 31.13 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001007/0.9735, allocations: 53.69 kB / 1.158 GB, free: 31.12 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 4.889e-05/0.9736, allocations: 38.78 kB / 1.158 GB, free: 31.11 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001406/0.9737, allocations: 151.2 kB / 1.158 GB, free: 31.04 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0003403/0.974, allocations: 422.2 kB / 1.158 GB, free: 30.89 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.974, allocations: 0 / 1.158 GB, free: 30.89 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.393e-06/0.974, allocations: 0 / 1.158 GB, free: 30.89 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.974, allocations: 0 / 1.158 GB, free: 30.89 MB / 1.076 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.0006377/0.9747, allocations: 0.566 MB / 1.159 GB, free: 30.39 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.9747, allocations: 8.594 kB / 1.159 GB, free: 30.39 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.011e-05/0.9748, allocations: 33 kB / 1.159 GB, free: 30.38 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002627/0.9751, allocations: 208.9 kB / 1.159 GB, free: 30.21 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.621e-05/0.9751, allocations: 23.48 kB / 1.159 GB, free: 30.2 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.487e-05/0.9752, allocations: 30.38 kB / 1.159 GB, free: 30.2 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002238/0.9754, allocations: 156.9 kB / 1.159 GB, free: 30.11 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.9754, allocations: 192 / 1.159 GB, free: 30.11 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.701e-05/0.9754, allocations: 7.938 kB / 1.159 GB, free: 30.11 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.778e-06/0.9754, allocations: 3 kB / 1.159 GB, free: 30.11 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000126/0.9755, allocations: 82.2 kB / 1.159 GB, free: 30.08 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006456/0.9762, allocations: 0.5668 MB / 1.16 GB, free: 29.68 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001574/0.9763, allocations: 88.48 kB / 1.16 GB, free: 29.64 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.741e-05/0.9764, allocations: 39.14 kB / 1.16 GB, free: 29.62 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.303e-05/0.9764, allocations: 192 / 1.16 GB, free: 29.62 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002087/0.9766, allocations: 168.5 kB / 1.16 GB, free: 29.53 MB / 1.076 GB Notification: Performance of pre-optimization done (n=20): time 1.473e-06/0.9766, allocations: 3.938 kB / 1.16 GB, free: 29.53 MB / 1.076 GB Notification: Performance of matching and sorting (n=20): time 0.0004111/0.977, allocations: 251.6 kB / 1.16 GB, free: 29.43 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.103e-05/0.9771, allocations: 58.28 kB / 1.16 GB, free: 29.36 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001219/0.9772, allocations: 183.9 kB / 1.161 GB, free: 29.23 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.32e-05/0.9772, allocations: 42.92 kB / 1.161 GB, free: 29.19 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 7.78e-05/0.9773, allocations: 130.1 kB / 1.161 GB, free: 29.08 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.846e-05/0.9773, allocations: 44.02 kB / 1.161 GB, free: 29.05 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001563/0.9775, allocations: 116.5 kB / 1.161 GB, free: 29.01 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.137e-05/0.9776, allocations: 328.1 kB / 1.161 GB, free: 28.69 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003107/0.9779, allocations: 307.1 kB / 1.162 GB, free: 28.47 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003261/0.9782, allocations: 389.9 kB / 1.162 GB, free: 28.16 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003769/0.9786, allocations: 415.6 kB / 1.162 GB, free: 27.81 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.9786, allocations: 64 / 1.162 GB, free: 27.81 MB / 1.076 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008275/0.9794, allocations: 0.7848 MB / 1.163 GB, free: 27.29 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 6.64e-05/0.9795, allocations: 160.8 kB / 1.163 GB, free: 27.13 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.9795, allocations: 2.625 kB / 1.163 GB, free: 27.13 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.9795, allocations: 9.688 kB / 1.163 GB, free: 27.12 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.495e-05/0.9795, allocations: 9.656 kB / 1.163 GB, free: 27.12 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.176e-06/0.9795, allocations: 3.062 kB / 1.163 GB, free: 27.12 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007141/0.9802, allocations: 141.1 kB / 1.163 GB, free: 27.1 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-05/0.9803, allocations: 30.02 kB / 1.163 GB, free: 27.1 MB / 1.076 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.0001289/0.9804, allocations: 167.5 kB / 1.164 GB, free: 26.96 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.114e-05/0.9805, allocations: 16.41 kB / 1.164 GB, free: 26.95 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.812e-05/0.9805, allocations: 20.31 kB / 1.164 GB, free: 26.93 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.9805, allocations: 6.75 kB / 1.164 GB, free: 26.93 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.9805, allocations: 0 / 1.164 GB, free: 26.93 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.9805, allocations: 0 / 1.164 GB, free: 26.93 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003927/0.9809, allocations: 437.8 kB / 1.164 GB, free: 26.62 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.9809, allocations: 0 / 1.164 GB, free: 26.62 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.802e-05/0.9809, allocations: 5.406 kB / 1.164 GB, free: 26.62 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.9809, allocations: 3.938 kB / 1.164 GB, free: 26.62 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.9809, allocations: 9.984 kB / 1.164 GB, free: 26.61 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.9809, allocations: 4 kB / 1.164 GB, free: 26.61 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.9809, allocations: 1.031 kB / 1.164 GB, free: 26.61 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000215/0.9811, allocations: 286 kB / 1.164 GB, free: 26.43 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.753e-05/0.9812, allocations: 22.36 kB / 1.164 GB, free: 26.41 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.214e-05/0.9812, allocations: 2.75 kB / 1.164 GB, free: 26.41 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.74e-05/0.9813, allocations: 7 kB / 1.164 GB, free: 26.41 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.624e-05/0.9813, allocations: 19.34 kB / 1.164 GB, free: 26.4 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/0.9813, allocations: 16 kB / 1.164 GB, free: 26.39 MB / 1.076 GB Notification: Performance of sorting global known variables: time 5.366e-05/0.9814, allocations: 115.1 kB / 1.164 GB, free: 26.31 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.9814, allocations: 0 / 1.164 GB, free: 26.31 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003387/0.9817, allocations: 86.2 kB / 1.165 GB, free: 26.3 MB / 1.076 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.0001277/0.9818, allocations: 116 kB / 1.165 GB, free: 26.2 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0006102/0.9825, allocations: 0.6931 MB / 1.165 GB, free: 25.62 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.9825, allocations: 0 / 1.165 GB, free: 25.62 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 8.838e-05/0.9825, allocations: 66.7 kB / 1.165 GB, free: 25.61 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004118/0.983, allocations: 53.36 kB / 1.165 GB, free: 25.59 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005006/0.9835, allocations: 335.9 kB / 1.166 GB, free: 25.37 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.496e-05/0.9835, allocations: 122 kB / 1.166 GB, free: 25.29 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 5.881e-05/0.9836, allocations: 24.84 kB / 1.166 GB, free: 25.28 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.467e-05/0.9836, allocations: 22.45 kB / 1.166 GB, free: 25.27 MB / 1.076 GB Notification: Performance of SimCode: time 3.21e-07/0.9836, allocations: 0 / 1.166 GB, free: 25.27 MB / 1.076 GB Notification: Performance of Templates: time 0.009633/0.9933, allocations: 5.109 MB / 1.171 GB, free: 24.66 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.082807738916017]