Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.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.001408/0.001408, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001536/0.001536, allocations: 161 kB / 24.17 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.008/1.008, allocations: 177.1 MB / 204.6 MB, free: 5.492 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 1.902/1.902, allocations: 377.9 MB / 0.624 GB, free: 8.355 MB / 0.5886 GB " [Timeout remaining time 178] 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.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.082e-06/1.082e-06, allocations: 0 / 0.7601 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.813e-05/1.922e-05, allocations: 6.312 kB / 0.7601 GB, free: 6.555 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.001167/0.001186, allocations: 0.724 MB / 0.7608 GB, free: 5.848 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.000753/0.001939, allocations: 0.8534 MB / 0.7616 GB, free: 4.984 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.906e-05/0.001978, allocations: 0 / 0.7616 GB, free: 4.984 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.345e-05/0.002001, allocations: 4.438 kB / 0.7616 GB, free: 4.98 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.96e-05/0.002061, allocations: 7.875 kB / 0.7616 GB, free: 4.977 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 6.668e-05/0.002128, allocations: 11.98 kB / 0.7616 GB, free: 4.965 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.527e-05/0.002193, allocations: 48.28 kB / 0.7617 GB, free: 4.926 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 5.706e-05/0.00225, allocations: 7.984 kB / 0.7617 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 7.178e-05/0.002322, allocations: 30.83 kB / 0.7617 GB, free: 4.891 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.294e-05/0.002355, allocations: 13.84 kB / 0.7617 GB, free: 4.879 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.583e-05/0.00237, allocations: 5.812 kB / 0.7618 GB, free: 4.875 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.234e-06/0.002378, allocations: 4 kB / 0.7618 GB, free: 4.871 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.461e-05/0.002392, allocations: 8.875 kB / 0.7618 GB, free: 4.863 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.473e-05/0.002407, allocations: 9.625 kB / 0.7618 GB, free: 4.855 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 6.347e-05/0.002471, allocations: 34.19 kB / 0.7618 GB, free: 4.824 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.322e-06/0.002472, allocations: 1.094 kB / 0.7618 GB, free: 4.824 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.21e-07/0.002472, allocations: 0 / 0.7618 GB, free: 4.824 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.627e-06/0.002476, allocations: 0 / 0.7618 GB, free: 4.824 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002621/0.002738, allocations: 251.5 kB / 0.762 GB, free: 4.555 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.717e-05/0.002765, allocations: 8.031 kB / 0.7621 GB, free: 4.547 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.058e-05/0.002786, allocations: 4.938 kB / 0.7621 GB, free: 4.543 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.963e-05/0.002856, allocations: 122.5 kB / 0.7622 GB, free: 4.398 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.636e-06/0.002864, allocations: 4.375 kB / 0.7622 GB, free: 4.395 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.346e-06/0.002873, allocations: 1.188 kB / 0.7622 GB, free: 4.395 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001024/0.002975, allocations: 62.94 kB / 0.7622 GB, free: 4.324 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.002982, allocations: 1.219 kB / 0.7622 GB, free: 4.324 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.082e-06/0.002988, allocations: 384 / 0.7622 GB, free: 4.324 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.002994, allocations: 4.375 kB / 0.7622 GB, free: 4.32 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.876e-05/0.003013, allocations: 12.56 kB / 0.7623 GB, free: 4.309 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001763/0.00319, allocations: 158 kB / 0.7624 GB, free: 4.141 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.866e-05/0.003238, allocations: 26.56 kB / 0.7624 GB, free: 4.105 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.545e-05/0.003254, allocations: 8.922 kB / 0.7624 GB, free: 4.094 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.173e-05/0.003265, allocations: 4 kB / 0.7624 GB, free: 4.09 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.724e-05/0.003283, allocations: 31.78 kB / 0.7625 GB, free: 4.051 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 8.61e-07/0.003283, allocations: 0 / 0.7625 GB, free: 4.051 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 9.325e-05/0.003377, allocations: 53.83 kB / 0.7625 GB, free: 3.992 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.556e-05/0.003402, allocations: 53.47 kB / 0.7626 GB, free: 3.93 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.677e-05/0.003449, allocations: 110.7 kB / 0.7627 GB, free: 3.809 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.466e-06/0.003457, allocations: 25.7 kB / 0.7627 GB, free: 3.777 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.629e-05/0.003484, allocations: 88.09 kB / 0.7628 GB, free: 3.688 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.381e-05/0.003498, allocations: 7.953 kB / 0.7628 GB, free: 3.68 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.205e-05/0.00352, allocations: 21.69 kB / 0.7628 GB, free: 3.652 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.652e-05/0.003586, allocations: 315.6 kB / 0.7631 GB, free: 3.336 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.335e-06/0.003594, allocations: 0 / 0.7631 GB, free: 3.336 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.527e-06/0.003604, allocations: 8.781 kB / 0.7631 GB, free: 3.328 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.215e-05/0.003626, allocations: 12.84 kB / 0.7631 GB, free: 3.312 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.003627, allocations: 0.7188 kB / 0.7631 GB, free: 3.312 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.073e-05/0.003668, allocations: 45.62 kB / 0.7632 GB, free: 3.262 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.436e-06/0.003677, allocations: 5.812 kB / 0.7632 GB, free: 3.258 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.003682, allocations: 4 kB / 0.7632 GB, free: 3.254 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.003693, allocations: 3.938 kB / 0.7632 GB, free: 3.25 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.535e-05/0.003748, allocations: 11.98 kB / 0.7632 GB, free: 3.238 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.324e-06/0.00375, allocations: 1.188 kB / 0.7632 GB, free: 3.238 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.042e-05/0.003771, allocations: 8 kB / 0.7632 GB, free: 3.23 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/0.003776, allocations: 4 kB / 0.7632 GB, free: 3.227 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 (3): * Single equations (assignments): 3 * 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 5.142e-05/0.003827, allocations: 110.4 kB / 0.7633 GB, free: 3.109 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.24e-05/0.00384, allocations: 0.8125 kB / 0.7633 GB, free: 3.109 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.238e-05/0.003912, allocations: 53.62 kB / 0.7634 GB, free: 3.047 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.003915, allocations: 4.844 kB / 0.7634 GB, free: 3.043 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-06/0.003916, allocations: 0 / 0.7634 GB, free: 3.043 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.003919, allocations: 3.984 kB / 0.7634 GB, free: 3.039 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.67e-05/0.003996, allocations: 74.98 kB / 0.7635 GB, free: 2.949 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.003997, allocations: 0 / 0.7635 GB, free: 2.949 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.683e-05/0.004023, allocations: 17.73 kB / 0.7635 GB, free: 2.934 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.42e-07/0.004024, allocations: 0 / 0.7635 GB, free: 2.934 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.106e-06/0.004027, allocations: 0 / 0.7635 GB, free: 2.934 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-07/0.004028, allocations: 0 / 0.7635 GB, free: 2.934 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.51e-07/0.004028, allocations: 0 / 0.7635 GB, free: 2.934 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.205e-05/0.00409, allocations: 139.5 kB / 0.7636 GB, free: 2.781 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.773e-06/0.004097, allocations: 14.69 kB / 0.7636 GB, free: 2.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.275e-06/0.004105, allocations: 4 kB / 0.7636 GB, free: 2.766 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.256e-05/0.004138, allocations: 4 kB / 0.7636 GB, free: 2.762 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.295e-05/0.004161, allocations: 7.922 kB / 0.7636 GB, free: 2.754 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-06/0.004163, allocations: 3.938 kB / 0.7636 GB, free: 2.75 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.258e-05/0.004176, allocations: 16.84 kB / 0.7637 GB, free: 2.73 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.1e-08/0.004176, allocations: 0 / 0.7637 GB, free: 2.73 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001068/0.004283, allocations: 5.844 kB / 0.7637 GB, free: 2.727 MB / 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 (3): * Single equations (assignments): 3 * 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 7.014e-05/0.004353, allocations: 84.41 kB / 0.7637 GB, free: 2.637 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.535e-05/0.004408, allocations: 12.86 kB / 0.7638 GB, free: 2.621 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.00441, allocations: 0.9375 kB / 0.7638 GB, free: 2.621 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.424e-05/0.004424, allocations: 9.188 kB / 0.7638 GB, free: 2.609 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001165/0.004541, allocations: 16.64 kB / 0.7638 GB, free: 2.594 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000196/0.004737, allocations: 132.1 kB / 0.7639 GB, free: 2.441 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.836e-05/0.004775, allocations: 63.28 kB / 0.764 GB, free: 2.359 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.666e-05/0.004792, allocations: 3.984 kB / 0.764 GB, free: 2.355 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.59e-05/0.004838, allocations: 59.38 kB / 0.764 GB, free: 2.297 MB / 0.7136 GB Notification: Performance of SimCode: time 5.61e-07/0.004838, allocations: 0 / 0.764 GB, free: 2.297 MB / 0.7136 GB Notification: Performance of Templates: time 0.001857/0.006695, allocations: 0.6685 MB / 0.7647 GB, free: 1.664 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Min.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.065998738165945]