Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.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.001176/0.001176, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001357/0.001357, allocations: 161 kB / 23.82 MB, free: 0.7539 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.982/0.982, allocations: 177.1 MB / 204.2 MB, free: 5.645 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 1.951/1.951, allocations: 377.8 MB / 0.6236 GB, free: 8.543 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.MultiMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.[0-9,]+..y|minVal.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.[0-9,]+..y|minVal.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.535e-06/2.535e-06, allocations: 0.7656 kB / 0.8116 GB, free: 0.5312 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.937e-05/3.19e-05, allocations: 5.266 kB / 0.8116 GB, free: 0.5273 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin): time 0.001458/0.00149, allocations: 0.6694 MB / 0.8123 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.000175/0.001664, allocations: 11.94 kB / 0.8123 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.738e-05/0.001702, allocations: 5.406 kB / 0.8123 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001077/0.00181, allocations: 3.938 kB / 0.8123 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 4.443e-05/0.001854, allocations: 3.984 kB / 0.8123 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001074/0.001961, allocations: 4.875 kB / 0.8123 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001058/0.002067, allocations: 43.89 kB / 0.8123 GB, free: 15.81 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.002194, allocations: 20.95 kB / 0.8123 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 3.26e-05/0.002227, allocations: 11.98 kB / 0.8124 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 2.861e-05/0.002255, allocations: 19.92 kB / 0.8124 GB, free: 15.76 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.054e-05/0.002276, allocations: 1.688 kB / 0.8124 GB, free: 15.76 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 9.909e-06/0.002286, allocations: 4 kB / 0.8124 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 3.121e-05/0.002317, allocations: 11.98 kB / 0.8124 GB, free: 15.74 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.628e-05/0.002343, allocations: 11.94 kB / 0.8124 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 8.724e-05/0.00243, allocations: 33.38 kB / 0.8124 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.002433, allocations: 0 / 0.8124 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.002e-06/0.002434, allocations: 0 / 0.8124 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.002438, allocations: 0 / 0.8124 GB, free: 15.7 MB / 0.7292 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.0003048/0.002743, allocations: 380.2 kB / 0.8128 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.002782, allocations: 12.56 kB / 0.8128 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.187e-05/0.002823, allocations: 13.5 kB / 0.8128 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001278/0.002951, allocations: 128.5 kB / 0.8129 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.819e-06/0.002961, allocations: 1.031 kB / 0.8129 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.007e-06/0.00297, allocations: 5.75 kB / 0.813 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001081/0.003078, allocations: 58.12 kB / 0.813 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.003087, allocations: 192 / 0.813 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.003097, allocations: 4.375 kB / 0.813 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.003105, allocations: 2.125 kB / 0.813 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.178e-05/0.003137, allocations: 23.86 kB / 0.813 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003709/0.003508, allocations: 0.5254 MB / 0.8136 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 8.557e-05/0.003593, allocations: 265.4 kB / 0.8138 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.243e-05/0.003626, allocations: 126.9 kB / 0.8139 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.602e-05/0.003652, allocations: 120.3 kB / 0.814 GB, free: 13.94 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.205e-05/0.003694, allocations: 152.6 kB / 0.8142 GB, free: 13.78 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=0): time 1.813e-06/0.003696, allocations: 0.5625 kB / 0.8142 GB, free: 13.78 MB / 0.7292 GB Notification: Performance of matching and sorting (n=0): time 6.162e-05/0.003757, allocations: 37.62 kB / 0.8142 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.49e-05/0.003812, allocations: 175.2 kB / 0.8144 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.557e-05/0.003908, allocations: 183 kB / 0.8146 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.376e-06/0.003916, allocations: 25.7 kB / 0.8146 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.176e-05/0.003978, allocations: 150.7 kB / 0.8147 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.976e-06/0.003981, allocations: 0.875 kB / 0.8147 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.489e-05/0.004006, allocations: 19.38 kB / 0.8148 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.004117, allocations: 0.4883 MB / 0.8152 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.258e-06/0.004126, allocations: 2.219 kB / 0.8152 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.803e-06/0.004133, allocations: 4 kB / 0.8152 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.881e-05/0.004162, allocations: 11.62 kB / 0.8152 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.004164, allocations: 0 / 0.8152 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.747e-05/0.004251, allocations: 50.28 kB / 0.8153 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.004265, allocations: 10.84 kB / 0.8153 GB, free: 12.56 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.004269, allocations: 0 / 0.8153 GB, free: 12.56 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.004281, allocations: 0.5 kB / 0.8153 GB, free: 12.56 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.844e-05/0.00433, allocations: 5.594 kB / 0.8153 GB, free: 12.56 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.004334, allocations: 0 / 0.8153 GB, free: 12.56 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.305e-05/0.004347, allocations: 4 kB / 0.8153 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.004356, allocations: 0 / 0.8153 GB, free: 12.55 MB / 0.7292 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.611e-05/0.004442, allocations: 284.3 kB / 0.8156 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.71e-05/0.004489, allocations: 148.8 kB / 0.8157 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.868e-05/0.004537, allocations: 153.2 kB / 0.8159 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.073e-05/0.004598, allocations: 268.1 kB / 0.8161 GB, free: 11.69 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.977e-05/0.004658, allocations: 276.9 kB / 0.8164 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.777e-05/0.004716, allocations: 268.1 kB / 0.8166 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001675/0.004883, allocations: 0.5085 MB / 0.8171 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.764e-05/0.004921, allocations: 144.9 kB / 0.8173 GB, free: 10.44 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.461e-05/0.004955, allocations: 148.8 kB / 0.8174 GB, free: 10.29 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.924e-05/0.005015, allocations: 273.3 kB / 0.8177 GB, free: 10.02 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.972e-05/0.005074, allocations: 268.1 kB / 0.8179 GB, free: 9.746 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.94e-05/0.005134, allocations: 268 kB / 0.8182 GB, free: 9.477 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.055e-05/0.005194, allocations: 273.1 kB / 0.8185 GB, free: 9.203 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001211/0.005315, allocations: 447.9 kB / 0.8189 GB, free: 8.738 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.01e-05/0.005356, allocations: 159.1 kB / 0.819 GB, free: 8.578 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.392e-05/0.005419, allocations: 268 kB / 0.8193 GB, free: 8.309 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.821e-05/0.005478, allocations: 148.9 kB / 0.8194 GB, free: 8.156 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.146e-05/0.005539, allocations: 268 kB / 0.8197 GB, free: 7.887 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.285e-05/0.005572, allocations: 148.9 kB / 0.8198 GB, free: 7.734 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.289e-05/0.005615, allocations: 131.2 kB / 0.82 GB, free: 7.605 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.005615, allocations: 0 / 0.82 GB, free: 7.605 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001432/0.005758, allocations: 15.25 kB / 0.82 GB, free: 7.594 MB / 0.7292 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.0001044/0.005863, allocations: 214.4 kB / 0.8202 GB, free: 7.375 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 7.859e-05/0.005941, allocations: 15.69 kB / 0.8202 GB, free: 7.355 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.005943, allocations: 3.938 kB / 0.8202 GB, free: 7.352 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.072e-06/0.005944, allocations: 0 / 0.8202 GB, free: 7.352 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003279/0.006272, allocations: 0.71 MB / 0.8209 GB, free: 6.637 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002426/0.006514, allocations: 258.2 kB / 0.8211 GB, free: 6.355 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.444e-05/0.006549, allocations: 67.27 kB / 0.8212 GB, free: 6.27 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.572e-05/0.006565, allocations: 0 / 0.8212 GB, free: 6.27 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.18e-05/0.006586, allocations: 13 kB / 0.8212 GB, free: 6.258 MB / 0.7292 GB Notification: Performance of SimCode: time 4.81e-07/0.006587, allocations: 1 kB / 0.8212 GB, free: 6.258 MB / 0.7292 GB Notification: Performance of Templates: time 0.001859/0.008446, allocations: 332.2 kB / 0.8215 GB, free: 5.949 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin.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.1830029441043735]