Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.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.001271/0.001271, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.0009598/0.0009598, allocations: 185.3 kB / 24.09 MB, free: 416 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 0.9222/0.9222, allocations: 177.1 MB / 204.5 MB, free: 5.488 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.839/1.839, allocations: 377.9 MB / 0.624 GB, free: 8.383 MB / 0.5886 GB " [Timeout remaining time 178] 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.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulMax.y",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulMax.y",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 0 / 0.812 GB, free: 1.434 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.58e-05/1.803e-05, allocations: 2.906 kB / 0.812 GB, free: 1.43 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.001194/0.001212, allocations: 0.6311 MB / 0.8126 GB, free: 0.8203 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001493/0.001361, allocations: 4 kB / 0.8126 GB, free: 0.8164 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.607e-05/0.001417, allocations: 1.094 kB / 0.8126 GB, free: 0.8164 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 8.931e-05/0.001507, allocations: 11.92 kB / 0.8126 GB, free: 0.8047 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 3.311e-05/0.00154, allocations: 0 / 0.8126 GB, free: 0.8047 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 5.997e-05/0.0016, allocations: 0.75 kB / 0.8126 GB, free: 0.8047 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 7.17e-05/0.001672, allocations: 27.92 kB / 0.8127 GB, free: 0.7773 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.001784, allocations: 21.66 kB / 0.8127 GB, free: 0.7578 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 3.618e-05/0.00182, allocations: 23.92 kB / 0.8127 GB, free: 0.7344 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 2.766e-05/0.001848, allocations: 7.984 kB / 0.8127 GB, free: 0.7266 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.058e-05/0.001869, allocations: 4 kB / 0.8127 GB, free: 0.7227 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 8.826e-06/0.001878, allocations: 1.531 kB / 0.8127 GB, free: 0.7227 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.981e-05/0.001907, allocations: 11.94 kB / 0.8127 GB, free: 0.7109 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.205e-05/0.001929, allocations: 11.98 kB / 0.8127 GB, free: 0.6992 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 7.943e-05/0.002009, allocations: 35.78 kB / 0.8128 GB, free: 0.6641 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.002011, allocations: 4 kB / 0.8128 GB, free: 0.6602 MB / 0.7605 GB Notification: Performance of FrontEnd: time 4.71e-07/0.002011, allocations: 0.5 kB / 0.8128 GB, free: 0.6602 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.002015, allocations: 1.594 kB / 0.8128 GB, free: 0.6602 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.0002703/0.002285, allocations: 372.5 kB / 0.8131 GB, free: 264 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.00232, allocations: 12.03 kB / 0.8131 GB, free: 252 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.641e-05/0.002347, allocations: 12.89 kB / 0.8132 GB, free: 240 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001123/0.002459, allocations: 137.3 kB / 0.8133 GB, free: 76 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.005e-06/0.002467, allocations: 384 / 0.8133 GB, free: 76 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.127e-05/0.002478, allocations: 9.156 kB / 0.8133 GB, free: 68 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.178e-05/0.00256, allocations: 46.25 kB / 0.8133 GB, free: 16 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.002567, allocations: 0.8125 kB / 0.8133 GB, free: 16 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.524e-06/0.002574, allocations: 4.359 kB / 0.8133 GB, free: 12 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.002579, allocations: 1.125 kB / 0.8133 GB, free: 12 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.265e-05/0.002612, allocations: 19.98 kB / 0.8134 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000287/0.002899, allocations: 0.5036 MB / 0.8139 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.314e-05/0.002972, allocations: 265.4 kB / 0.8141 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.127e-05/0.003003, allocations: 126.9 kB / 0.8142 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.572e-05/0.003029, allocations: 124.6 kB / 0.8144 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.109e-05/0.00307, allocations: 152.6 kB / 0.8145 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 1.162e-06/0.003071, allocations: 0 / 0.8145 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 4.744e-05/0.003119, allocations: 35.39 kB / 0.8145 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.749e-05/0.003166, allocations: 174.6 kB / 0.8147 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.604e-05/0.003252, allocations: 185.8 kB / 0.8149 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.887e-06/0.003261, allocations: 29.64 kB / 0.8149 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.36e-05/0.003305, allocations: 138.8 kB / 0.815 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.743e-06/0.003307, allocations: 0.875 kB / 0.815 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.894e-05/0.003335, allocations: 31.36 kB / 0.8151 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.003441, allocations: 496.8 kB / 0.8155 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.142e-06/0.003447, allocations: 0 / 0.8155 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.38e-06/0.003453, allocations: 4.562 kB / 0.8155 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.403e-05/0.003477, allocations: 12.19 kB / 0.8156 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.003478, allocations: 0.5938 kB / 0.8156 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.787e-05/0.003546, allocations: 46.92 kB / 0.8156 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 9.187e-06/0.003555, allocations: 4 kB / 0.8156 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.003559, allocations: 0 / 0.8156 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.357e-06/0.003569, allocations: 6.562 kB / 0.8156 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.86e-05/0.003607, allocations: 0 / 0.8156 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.204e-06/0.00361, allocations: 0 / 0.8156 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.254e-05/0.003622, allocations: 7.938 kB / 0.8156 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.003629, allocations: 0 / 0.8156 GB, free: 13.56 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: 1 (mulMax.y) * 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 0.0005326/0.004162, allocations: 279.7 kB / 0.8159 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.386e-05/0.004206, allocations: 149.4 kB / 0.816 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.801e-05/0.004254, allocations: 160.3 kB / 0.8162 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.023e-05/0.004314, allocations: 268.9 kB / 0.8164 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.555e-05/0.004369, allocations: 272 kB / 0.8167 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.886e-05/0.004428, allocations: 264.6 kB / 0.8169 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000168/0.004596, allocations: 494.1 kB / 0.8174 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.204e-05/0.004628, allocations: 148.8 kB / 0.8176 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.33e-05/0.004662, allocations: 152.8 kB / 0.8177 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.397e-05/0.004716, allocations: 272 kB / 0.818 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.706e-05/0.004773, allocations: 268.7 kB / 0.8182 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.62e-05/0.004829, allocations: 272.1 kB / 0.8185 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.063e-05/0.004889, allocations: 268.8 kB / 0.8187 GB, free: 10.24 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001251/0.005014, allocations: 448 kB / 0.8192 GB, free: 9.777 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.94e-05/0.005054, allocations: 157.8 kB / 0.8193 GB, free: 9.617 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.765e-05/0.005122, allocations: 264.1 kB / 0.8196 GB, free: 9.352 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.824e-05/0.00518, allocations: 156.8 kB / 0.8197 GB, free: 9.191 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.819e-05/0.005238, allocations: 269.2 kB / 0.82 GB, free: 8.922 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.325e-05/0.005271, allocations: 148.8 kB / 0.8201 GB, free: 8.77 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.294e-05/0.005314, allocations: 131.2 kB / 0.8202 GB, free: 8.641 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.005314, allocations: 0.8438 kB / 0.8202 GB, free: 8.641 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001282/0.005442, allocations: 4 kB / 0.8202 GB, free: 8.637 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 9.054e-05/0.005533, allocations: 224.6 kB / 0.8205 GB, free: 8.406 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 4.761e-05/0.005581, allocations: 7.688 kB / 0.8205 GB, free: 8.395 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.042e-06/0.005582, allocations: 0 / 0.8205 GB, free: 8.395 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.82e-07/0.005583, allocations: 0 / 0.8205 GB, free: 8.395 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002899/0.005872, allocations: 0.7051 MB / 0.8212 GB, free: 7.688 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001916/0.006064, allocations: 253.3 kB / 0.8214 GB, free: 7.41 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.113e-05/0.006095, allocations: 59.34 kB / 0.8215 GB, free: 7.332 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.64e-05/0.006111, allocations: 0 / 0.8215 GB, free: 7.332 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.638e-05/0.006148, allocations: 70.2 kB / 0.8215 GB, free: 7.262 MB / 0.7761 GB Notification: Performance of SimCode: time 7.01e-07/0.006149, allocations: 0 / 0.8215 GB, free: 7.262 MB / 0.7761 GB Notification: Performance of Templates: time 0.001536/0.007685, allocations: 343.1 kB / 0.8218 GB, free: 6.938 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.sim & ./Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger.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: 4.818354851100594]