Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001321/0.001321, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001708/0.001708, allocations: 161 kB / 24.16 MB, free: 332 kB / 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 1.075/1.075, allocations: 177.2 MB / 204.6 MB, free: 5.168 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 2.046/2.046, allocations: 377.9 MB / 0.624 GB, free: 8.34 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.Reals.Validation.MultiMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.[0-9,]+..y|maxVal.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.645e-06/2.645e-06, allocations: 0.7656 kB / 0.7601 GB, free: 6.508 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.517e-05/2.781e-05, allocations: 4.984 kB / 0.7601 GB, free: 6.504 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.00176/0.001788, allocations: 0.7349 MB / 0.7608 GB, free: 5.789 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0001979/0.001986, allocations: 7.984 kB / 0.7608 GB, free: 5.781 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.408e-05/0.00204, allocations: 4.531 kB / 0.7609 GB, free: 5.777 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001317/0.002172, allocations: 4.547 kB / 0.7609 GB, free: 5.773 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.174e-05/0.002224, allocations: 2.438 kB / 0.7609 GB, free: 5.773 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 8.157e-05/0.002305, allocations: 0 / 0.7609 GB, free: 5.773 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 9.22e-05/0.002397, allocations: 27.92 kB / 0.7609 GB, free: 5.75 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001262/0.002524, allocations: 20.5 kB / 0.7609 GB, free: 5.73 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 4.954e-05/0.002573, allocations: 21.73 kB / 0.7609 GB, free: 5.711 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.973e-05/0.002613, allocations: 15.09 kB / 0.7609 GB, free: 5.699 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.179e-05/0.002635, allocations: 4 kB / 0.7609 GB, free: 5.695 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.173e-05/0.002646, allocations: 7.938 kB / 0.761 GB, free: 5.688 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.733e-05/0.002684, allocations: 12.19 kB / 0.761 GB, free: 5.68 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.795e-05/0.002712, allocations: 13.19 kB / 0.761 GB, free: 5.668 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 9.377e-05/0.002805, allocations: 31.95 kB / 0.761 GB, free: 5.641 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.002808, allocations: 0 / 0.761 GB, free: 5.641 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.12e-07/0.002808, allocations: 1.25 kB / 0.761 GB, free: 5.641 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.002812, allocations: 0 / 0.761 GB, free: 5.641 MB / 0.7136 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.0002543/0.003066, allocations: 250.2 kB / 0.7612 GB, free: 5.371 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.003102, allocations: 8.656 kB / 0.7613 GB, free: 5.363 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.802e-05/0.00313, allocations: 4.938 kB / 0.7613 GB, free: 5.359 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/0.003267, allocations: 122.2 kB / 0.7614 GB, free: 5.215 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.003279, allocations: 9.516 kB / 0.7614 GB, free: 5.207 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.366e-06/0.003287, allocations: 4.312 kB / 0.7614 GB, free: 5.203 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001032/0.00339, allocations: 56.38 kB / 0.7614 GB, free: 5.145 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.003398, allocations: 192 / 0.7614 GB, free: 5.145 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.003407, allocations: 4.375 kB / 0.7614 GB, free: 5.141 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.003413, allocations: 5.594 kB / 0.7615 GB, free: 5.137 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.243e-05/0.003435, allocations: 15.92 kB / 0.7615 GB, free: 5.121 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002973/0.003733, allocations: 345.1 kB / 0.7618 GB, free: 4.766 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.297e-05/0.003796, allocations: 173.1 kB / 0.762 GB, free: 4.586 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.434e-05/0.00382, allocations: 84.89 kB / 0.762 GB, free: 4.5 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.332e-05/0.003843, allocations: 76.03 kB / 0.7621 GB, free: 4.426 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.985e-05/0.003883, allocations: 113.8 kB / 0.7622 GB, free: 4.305 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 1.182e-06/0.003884, allocations: 0.75 kB / 0.7622 GB, free: 4.305 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 5.987e-05/0.003944, allocations: 30.25 kB / 0.7623 GB, free: 4.27 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.352e-05/0.003998, allocations: 128.8 kB / 0.7624 GB, free: 4.133 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.529e-05/0.004083, allocations: 114.7 kB / 0.7625 GB, free: 4.008 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.052e-05/0.004094, allocations: 25.7 kB / 0.7625 GB, free: 3.977 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.027e-05/0.004154, allocations: 104 kB / 0.7626 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.904e-06/0.004156, allocations: 0 / 0.7626 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.653e-05/0.004182, allocations: 9.719 kB / 0.7626 GB, free: 3.855 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.238e-05/0.004275, allocations: 324.6 kB / 0.7629 GB, free: 3.531 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.203e-06/0.004282, allocations: 0 / 0.7629 GB, free: 3.531 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.134e-06/0.004289, allocations: 0 / 0.7629 GB, free: 3.531 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.566e-05/0.004325, allocations: 12.8 kB / 0.7629 GB, free: 3.516 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.00433, allocations: 7.188 kB / 0.7629 GB, free: 3.512 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.133e-05/0.004401, allocations: 29.7 kB / 0.763 GB, free: 3.477 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.004416, allocations: 7.984 kB / 0.763 GB, free: 3.469 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.004423, allocations: 4 kB / 0.763 GB, free: 3.465 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.004437, allocations: 0 / 0.763 GB, free: 3.465 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.359e-05/0.00448, allocations: 0 / 0.763 GB, free: 3.465 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.477e-06/0.004484, allocations: 0 / 0.763 GB, free: 3.465 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.412e-05/0.004498, allocations: 4 kB / 0.763 GB, free: 3.461 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.004505, allocations: 2.844 kB / 0.763 GB, free: 3.461 MB / 0.7136 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.8e-05/0.004573, allocations: 195.8 kB / 0.7632 GB, free: 3.258 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.087e-05/0.004614, allocations: 104.9 kB / 0.7633 GB, free: 3.148 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.056e-05/0.004654, allocations: 116.4 kB / 0.7634 GB, free: 3.027 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.191e-05/0.004696, allocations: 180.3 kB / 0.7636 GB, free: 2.844 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-05/0.004738, allocations: 184.3 kB / 0.7637 GB, free: 2.656 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.116e-05/0.004779, allocations: 176.3 kB / 0.7639 GB, free: 2.477 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001398/0.004919, allocations: 338.9 kB / 0.7642 GB, free: 2.121 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.603e-05/0.004945, allocations: 101 kB / 0.7643 GB, free: 2.016 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.642e-05/0.004971, allocations: 108.9 kB / 0.7644 GB, free: 1.902 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.58e-05/0.005017, allocations: 188.2 kB / 0.7646 GB, free: 1.711 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.525e-05/0.005072, allocations: 177.8 kB / 0.7648 GB, free: 1.531 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.304e-05/0.005115, allocations: 180.2 kB / 0.765 GB, free: 1.348 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.252e-05/0.005158, allocations: 180.3 kB / 0.7651 GB, free: 1.164 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001044/0.005262, allocations: 303.8 kB / 0.7654 GB, free: 0.8438 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.617e-05/0.005298, allocations: 118.1 kB / 0.7655 GB, free: 0.7227 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.892e-05/0.005347, allocations: 180.3 kB / 0.7657 GB, free: 0.5391 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.237e-05/0.0054, allocations: 109 kB / 0.7658 GB, free: 436 kB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.654e-05/0.005446, allocations: 180.9 kB / 0.766 GB, free: 248 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.646e-05/0.005473, allocations: 101 kB / 0.7661 GB, free: 140 kB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.996e-05/0.005493, allocations: 17.47 kB / 0.7661 GB, free: 120 kB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.005493, allocations: 3.938 kB / 0.7661 GB, free: 116 kB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001208/0.005613, allocations: 4.656 kB / 0.7661 GB, free: 112 kB / 0.7136 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.0001145/0.005728, allocations: 156.5 kB / 0.7662 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 4.987e-05/0.005778, allocations: 15.58 kB / 0.7663 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.005781, allocations: 0 / 0.7663 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.72e-07/0.005782, allocations: 0 / 0.7663 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002384/0.00602, allocations: 460.2 kB / 0.7667 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002071/0.006227, allocations: 215.7 kB / 0.7669 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.452e-05/0.006262, allocations: 59.34 kB / 0.767 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.912e-05/0.006281, allocations: 3.125 kB / 0.767 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.57e-05/0.006317, allocations: 51.38 kB / 0.767 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of SimCode: time 7.11e-07/0.006317, allocations: 0 / 0.767 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of Templates: time 0.001836/0.008153, allocations: 338 kB / 0.7673 GB, free: 14.8 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.288189249113202]