Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.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.001368/0.001368, allocations: 80.88 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001603/0.001603, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 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 0.9982/0.9982, allocations: 177.2 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.561/2.561, allocations: 438.8 MB / 0.6827 GB, free: 13.58 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Reals.Validation.MultiMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.[0-9,]+..y|maxVal.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.[0-9,]+..y|maxVal.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 6.953e-06/6.953e-06, allocations: 0 / 0.8387 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.708e-05/3.403e-05, allocations: 2.312 kB / 0.8387 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.002233/0.002267, allocations: 0.7262 MB / 0.8394 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0001422/0.002409, allocations: 7.984 kB / 0.8394 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.678e-05/0.002446, allocations: 3.938 kB / 0.8394 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 9.438e-05/0.00254, allocations: 4 kB / 0.8394 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 3.906e-05/0.002579, allocations: 3.938 kB / 0.8394 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 5.797e-05/0.002637, allocations: 4 kB / 0.8394 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 6.88e-05/0.002706, allocations: 27.92 kB / 0.8394 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.002814, allocations: 19.97 kB / 0.8395 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 3.335e-05/0.002847, allocations: 15.98 kB / 0.8395 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 2.976e-05/0.002877, allocations: 15.92 kB / 0.8395 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.782e-05/0.002895, allocations: 8 kB / 0.8395 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 9.437e-06/0.002904, allocations: 4 kB / 0.8395 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.775e-05/0.002932, allocations: 15.92 kB / 0.8395 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.332e-05/0.002956, allocations: 15.92 kB / 0.8395 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 8.124e-05/0.003037, allocations: 31.84 kB / 0.8396 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.533e-06/0.003038, allocations: 0 / 0.8396 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.062e-06/0.003039, allocations: 0 / 0.8396 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.003043, allocations: 0 / 0.8396 GB, free: 13.19 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.000221/0.003264, allocations: 248.9 kB / 0.8398 GB, free: 12.92 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.148e-05/0.003296, allocations: 8.625 kB / 0.8398 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.628e-05/0.003322, allocations: 16.94 kB / 0.8398 GB, free: 12.9 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001107/0.003433, allocations: 121.7 kB / 0.8399 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.664e-06/0.00344, allocations: 4.375 kB / 0.8399 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.927e-06/0.003449, allocations: 8.312 kB / 0.84 GB, free: 12.74 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.172e-05/0.003531, allocations: 49.08 kB / 0.84 GB, free: 12.69 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.222e-06/0.003537, allocations: 192 / 0.84 GB, free: 12.69 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.321e-06/0.003543, allocations: 384 / 0.84 GB, free: 12.69 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.003548, allocations: 4.375 kB / 0.84 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.129e-05/0.003569, allocations: 19.86 kB / 0.84 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005236/0.004093, allocations: 344.3 kB / 0.8404 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.497e-05/0.004148, allocations: 169.1 kB / 0.8405 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.067e-05/0.004168, allocations: 88.14 kB / 0.8406 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/0.004186, allocations: 75.28 kB / 0.8407 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.571e-05/0.004222, allocations: 113.8 kB / 0.8408 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.004223, allocations: 0 / 0.8408 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 5.117e-05/0.004274, allocations: 33.69 kB / 0.8408 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.384e-05/0.004318, allocations: 126.7 kB / 0.8409 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.043e-05/0.004389, allocations: 118.7 kB / 0.841 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 7.103e-06/0.004396, allocations: 25.7 kB / 0.8411 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.142e-05/0.004437, allocations: 100 kB / 0.8412 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.903e-06/0.004439, allocations: 0 / 0.8412 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.275e-05/0.004462, allocations: 13.72 kB / 0.8412 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.457e-05/0.004536, allocations: 322.8 kB / 0.8415 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.202e-06/0.004543, allocations: 0 / 0.8415 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.191e-06/0.004549, allocations: 0 / 0.8415 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.702e-05/0.004576, allocations: 16.78 kB / 0.8415 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.004579, allocations: 3.938 kB / 0.8415 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.193e-05/0.004641, allocations: 29.7 kB / 0.8415 GB, free: 11.01 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.004652, allocations: 7.984 kB / 0.8415 GB, free: 11 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.004656, allocations: 4 kB / 0.8415 GB, free: 11 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.004667, allocations: 96 / 0.8415 GB, free: 11 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.229e-05/0.004709, allocations: 4 kB / 0.8416 GB, free: 10.99 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.074e-06/0.004711, allocations: 0 / 0.8416 GB, free: 10.99 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.348e-05/0.004724, allocations: 4 kB / 0.8416 GB, free: 10.99 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.004733, allocations: 4 kB / 0.8416 GB, free: 10.98 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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 6.342e-05/0.004797, allocations: 191.8 kB / 0.8417 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.966e-05/0.004836, allocations: 105 kB / 0.8418 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.313e-05/0.00487, allocations: 116.4 kB / 0.842 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.842e-05/0.004908, allocations: 180.2 kB / 0.8421 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-05/0.004949, allocations: 184.3 kB / 0.8423 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-05/0.004987, allocations: 180.3 kB / 0.8425 GB, free: 10 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001291/0.005116, allocations: 333.4 kB / 0.8428 GB, free: 9.652 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-05/0.00514, allocations: 101 kB / 0.8429 GB, free: 9.547 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.571e-05/0.005166, allocations: 108.9 kB / 0.843 GB, free: 9.434 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.043e-05/0.005206, allocations: 184.2 kB / 0.8432 GB, free: 9.246 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.085e-05/0.005247, allocations: 176.3 kB / 0.8433 GB, free: 9.066 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-05/0.005287, allocations: 180.2 kB / 0.8435 GB, free: 8.883 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.205e-05/0.005329, allocations: 188.3 kB / 0.8437 GB, free: 8.691 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.837e-05/0.005427, allocations: 303.8 kB / 0.844 GB, free: 8.371 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.215e-05/0.005459, allocations: 112.9 kB / 0.8441 GB, free: 8.254 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.339e-05/0.005503, allocations: 176.3 kB / 0.8443 GB, free: 8.074 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.717e-05/0.00556, allocations: 113.3 kB / 0.8444 GB, free: 7.957 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.881e-05/0.005609, allocations: 180.2 kB / 0.8445 GB, free: 7.773 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.577e-05/0.005634, allocations: 109 kB / 0.8446 GB, free: 7.66 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.102e-05/0.005655, allocations: 16.84 kB / 0.8447 GB, free: 7.641 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.005656, allocations: 0 / 0.8447 GB, free: 7.641 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001247/0.00578, allocations: 7.953 kB / 0.8447 GB, free: 7.633 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.000105/0.005885, allocations: 159.4 kB / 0.8448 GB, free: 7.473 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 4.68e-05/0.005932, allocations: 12.8 kB / 0.8448 GB, free: 7.457 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.005935, allocations: 0 / 0.8448 GB, free: 7.457 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.052e-06/0.005936, allocations: 4.062 kB / 0.8448 GB, free: 7.453 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002331/0.006169, allocations: 455.7 kB / 0.8453 GB, free: 7.004 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002036/0.006373, allocations: 215.7 kB / 0.8455 GB, free: 6.766 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.376e-05/0.006407, allocations: 59.34 kB / 0.8455 GB, free: 6.688 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.63e-05/0.006423, allocations: 0 / 0.8455 GB, free: 6.688 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.868e-05/0.006462, allocations: 51.38 kB / 0.8456 GB, free: 6.637 MB / 0.8073 GB Notification: Performance of SimCode: time 5.31e-07/0.006462, allocations: 0 / 0.8456 GB, free: 6.637 MB / 0.8073 GB Notification: Performance of Templates: time 0.00181/0.008272, allocations: 345.7 kB / 0.8459 GB, free: 6.301 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.205454355105758]