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.001488/0.001488, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001874/0.001874, allocations: 161 kB / 23.82 MB, free: 0.75 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 1.045/1.045, allocations: 177.1 MB / 204.2 MB, free: 5.266 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.041/2.041, allocations: 377.8 MB / 0.6236 GB, free: 8.535 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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 3.266e-06/3.266e-06, allocations: 0 / 0.8116 GB, free: 1.625 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.364e-05/3.691e-05, allocations: 9.703 kB / 0.8116 GB, free: 1.617 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.001572/0.001609, allocations: 0.6626 MB / 0.8123 GB, free: 0.9727 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001756/0.001785, allocations: 12.81 kB / 0.8123 GB, free: 0.9609 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.712e-05/0.001832, allocations: 4 kB / 0.8123 GB, free: 0.957 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0001153/0.001947, allocations: 0.9688 kB / 0.8123 GB, free: 0.957 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 4.84e-05/0.001996, allocations: 7.922 kB / 0.8123 GB, free: 0.9492 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 7.174e-05/0.002067, allocations: 1.031 kB / 0.8123 GB, free: 0.9492 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 8.726e-05/0.002155, allocations: 35.84 kB / 0.8123 GB, free: 0.9141 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001326/0.002287, allocations: 15.98 kB / 0.8123 GB, free: 0.8984 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 3.775e-05/0.002325, allocations: 20.77 kB / 0.8124 GB, free: 0.8789 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 3.049e-05/0.002355, allocations: 7.984 kB / 0.8124 GB, free: 0.8711 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.966e-05/0.002375, allocations: 5.688 kB / 0.8124 GB, free: 0.8672 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 1.215e-05/0.002387, allocations: 4 kB / 0.8124 GB, free: 0.8633 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 3.383e-05/0.002421, allocations: 15.92 kB / 0.8124 GB, free: 0.8477 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 3.125e-05/0.002452, allocations: 11.94 kB / 0.8124 GB, free: 0.8359 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001023/0.002555, allocations: 31.89 kB / 0.8124 GB, free: 0.8047 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.002557, allocations: 1.531 kB / 0.8124 GB, free: 0.8047 MB / 0.7605 GB Notification: Performance of FrontEnd: time 8.11e-07/0.002558, allocations: 0 / 0.8124 GB, free: 0.8047 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.002562, allocations: 3.938 kB / 0.8124 GB, free: 0.8008 MB / 0.7605 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.0003222/0.002885, allocations: 372.6 kB / 0.8128 GB, free: 408 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.002926, allocations: 8.656 kB / 0.8128 GB, free: 400 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.929e-05/0.002966, allocations: 13.8 kB / 0.8128 GB, free: 388 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001417/0.003107, allocations: 132.4 kB / 0.8129 GB, free: 228 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.003118, allocations: 384 / 0.8129 GB, free: 228 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.362e-05/0.003132, allocations: 5.969 kB / 0.813 GB, free: 224 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/0.003241, allocations: 50.25 kB / 0.813 GB, free: 168 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.003253, allocations: 192 / 0.813 GB, free: 168 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.003261, allocations: 384 / 0.813 GB, free: 168 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.288e-06/0.003271, allocations: 4.906 kB / 0.813 GB, free: 164 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.063e-05/0.003301, allocations: 15.92 kB / 0.813 GB, free: 148 kB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004229/0.003724, allocations: 0.5338 MB / 0.8135 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.879e-05/0.003813, allocations: 265.9 kB / 0.8138 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.04e-05/0.003853, allocations: 134.9 kB / 0.8139 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.035e-05/0.003884, allocations: 120.8 kB / 0.814 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.965e-05/0.003933, allocations: 156.6 kB / 0.8142 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 8.12e-07/0.003934, allocations: 0 / 0.8142 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 5.781e-05/0.003992, allocations: 33.66 kB / 0.8142 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.173e-05/0.004054, allocations: 171.1 kB / 0.8144 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.807e-05/0.004152, allocations: 174.5 kB / 0.8145 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.676e-06/0.004161, allocations: 25.7 kB / 0.8146 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.053e-05/0.004241, allocations: 151.5 kB / 0.8147 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.424e-06/0.004243, allocations: 0 / 0.8147 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.363e-05/0.004267, allocations: 20.53 kB / 0.8147 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.004379, allocations: 0.4883 MB / 0.8152 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.378e-06/0.004389, allocations: 0 / 0.8152 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.796e-06/0.004398, allocations: 9.359 kB / 0.8152 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.671e-05/0.004434, allocations: 15.69 kB / 0.8152 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.004436, allocations: 0 / 0.8152 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.482e-05/0.004531, allocations: 39.41 kB / 0.8153 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.004544, allocations: 4 kB / 0.8153 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.004549, allocations: 3.938 kB / 0.8153 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.004564, allocations: 0 / 0.8153 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.505e-05/0.00462, allocations: 6.219 kB / 0.8153 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.004624, allocations: 320 / 0.8153 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.467e-05/0.004639, allocations: 7.984 kB / 0.8153 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.004647, allocations: 0 / 0.8153 GB, free: 13.68 MB / 0.7761 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 8.15e-05/0.004729, allocations: 275.7 kB / 0.8156 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.645e-05/0.004815, allocations: 151.7 kB / 0.8157 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.374e-05/0.004869, allocations: 160.3 kB / 0.8159 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.512e-05/0.004924, allocations: 268.1 kB / 0.8161 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.815e-05/0.004982, allocations: 268.2 kB / 0.8164 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.85e-05/0.005041, allocations: 272 kB / 0.8166 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001723/0.005213, allocations: 0.5037 MB / 0.8171 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.379e-05/0.005247, allocations: 152.9 kB / 0.8173 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001152/0.005362, allocations: 156.8 kB / 0.8174 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-05/0.005418, allocations: 265.5 kB / 0.8177 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.832e-05/0.005476, allocations: 272 kB / 0.8179 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.592e-05/0.005532, allocations: 264.1 kB / 0.8182 GB, free: 10.6 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.08e-05/0.005593, allocations: 276 kB / 0.8184 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001297/0.005722, allocations: 460.3 kB / 0.8189 GB, free: 9.848 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.578e-05/0.005758, allocations: 145.5 kB / 0.819 GB, free: 9.699 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.3e-05/0.005821, allocations: 269.5 kB / 0.8193 GB, free: 9.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.882e-05/0.00588, allocations: 148.8 kB / 0.8194 GB, free: 9.277 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.823e-05/0.005938, allocations: 272.1 kB / 0.8197 GB, free: 9.004 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.03e-05/0.005968, allocations: 148.8 kB / 0.8198 GB, free: 8.852 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.358e-05/0.006012, allocations: 133.8 kB / 0.8199 GB, free: 8.723 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6.1e-08/0.006012, allocations: 0 / 0.8199 GB, free: 8.723 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001406/0.006153, allocations: 11.92 kB / 0.82 GB, free: 8.711 MB / 0.7761 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.000104/0.006257, allocations: 214.4 kB / 0.8202 GB, free: 8.488 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.873e-05/0.006325, allocations: 15.69 kB / 0.8202 GB, free: 8.469 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.00633, allocations: 0.5625 kB / 0.8202 GB, free: 8.469 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.192e-06/0.006331, allocations: 1.125 kB / 0.8202 GB, free: 8.469 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003255/0.006657, allocations: 0.7061 MB / 0.8209 GB, free: 7.758 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004042/0.007061, allocations: 253.3 kB / 0.8211 GB, free: 7.48 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.397e-05/0.007095, allocations: 64.31 kB / 0.8212 GB, free: 7.398 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.712e-05/0.007112, allocations: 0 / 0.8212 GB, free: 7.398 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.327e-05/0.007135, allocations: 9.344 kB / 0.8212 GB, free: 7.391 MB / 0.7761 GB Notification: Performance of SimCode: time 6.71e-07/0.007136, allocations: 0 / 0.8212 GB, free: 7.391 MB / 0.7761 GB Notification: Performance of Templates: time 0.001822/0.008958, allocations: 332.5 kB / 0.8215 GB, free: 7.078 MB / 0.7761 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 -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.572455294430256]