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.0009892/0.0009892, 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.0009548/0.0009548, 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.066/1.066, allocations: 177.1 MB / 204.2 MB, free: 5.262 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.893/1.893, allocations: 377.8 MB / 0.6236 GB, free: 8.531 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.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 4.609e-06/4.609e-06, allocations: 0 / 0.8115 GB, free: 1.703 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.691e-05/4.152e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.699 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.001565/0.001607, allocations: 0.6221 MB / 0.8121 GB, free: 1.098 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001713/0.001778, allocations: 7.938 kB / 0.8122 GB, free: 1.09 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.417e-05/0.001842, allocations: 0.875 kB / 0.8122 GB, free: 1.09 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0001255/0.001968, allocations: 3.938 kB / 0.8122 GB, free: 1.086 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 4.124e-05/0.002009, allocations: 8.516 kB / 0.8122 GB, free: 1.078 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 8.829e-05/0.002097, allocations: 4 kB / 0.8122 GB, free: 1.074 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 9.791e-05/0.002195, allocations: 24.61 kB / 0.8122 GB, free: 1.051 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001532/0.002348, allocations: 20.88 kB / 0.8122 GB, free: 1.031 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 4.864e-05/0.002397, allocations: 15.98 kB / 0.8122 GB, free: 1.016 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.359e-05/0.00244, allocations: 11.94 kB / 0.8122 GB, free: 1.004 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.647e-05/0.002467, allocations: 4.656 kB / 0.8122 GB, free: 1 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 1.348e-05/0.00248, allocations: 4.875 kB / 0.8122 GB, free: 0.9961 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 3.849e-05/0.002519, allocations: 15.97 kB / 0.8123 GB, free: 0.9805 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 3.246e-05/0.002551, allocations: 11.94 kB / 0.8123 GB, free: 0.9688 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001117/0.002663, allocations: 29.16 kB / 0.8123 GB, free: 0.9414 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.002665, allocations: 0 / 0.8123 GB, free: 0.9414 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.382e-06/0.002667, allocations: 3.938 kB / 0.8123 GB, free: 0.9375 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.002672, allocations: 1.656 kB / 0.8123 GB, free: 0.9375 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.0003323/0.003005, allocations: 372.6 kB / 0.8127 GB, free: 0.5352 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.003044, allocations: 8.031 kB / 0.8127 GB, free: 0.5273 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.249e-05/0.003086, allocations: 16.83 kB / 0.8127 GB, free: 0.5117 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001548/0.003241, allocations: 129.8 kB / 0.8128 GB, free: 368 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.003254, allocations: 4.375 kB / 0.8128 GB, free: 364 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.675e-05/0.003271, allocations: 4.375 kB / 0.8128 GB, free: 360 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001089/0.00338, allocations: 50.25 kB / 0.8129 GB, free: 304 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.003392, allocations: 1.719 kB / 0.8129 GB, free: 304 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.003406, allocations: 4.359 kB / 0.8129 GB, free: 300 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.395e-06/0.003414, allocations: 384 / 0.8129 GB, free: 300 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.257e-05/0.003446, allocations: 23.86 kB / 0.8129 GB, free: 276 kB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004196/0.003866, allocations: 0.5301 MB / 0.8134 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.642e-05/0.003963, allocations: 265.4 kB / 0.8137 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.746e-05/0.00401, allocations: 127.8 kB / 0.8138 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.765e-05/0.004038, allocations: 119.2 kB / 0.8139 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.607e-05/0.004084, allocations: 165.2 kB / 0.8141 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 9.91e-07/0.004085, allocations: 0 / 0.8141 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 5.672e-05/0.004141, allocations: 26.42 kB / 0.8141 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.472e-05/0.004196, allocations: 178.5 kB / 0.8143 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.004305, allocations: 187 kB / 0.8144 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.046e-06/0.004313, allocations: 25.7 kB / 0.8145 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.715e-05/0.00437, allocations: 142.8 kB / 0.8146 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.565e-06/0.004373, allocations: 0.625 kB / 0.8146 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.173e-05/0.004404, allocations: 28.5 kB / 0.8146 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.004524, allocations: 496.1 kB / 0.8151 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.344e-05/0.004537, allocations: 4 kB / 0.8151 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.426e-06/0.004545, allocations: 0.9844 kB / 0.8151 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.553e-05/0.004581, allocations: 15.61 kB / 0.8151 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.004583, allocations: 0.5938 kB / 0.8151 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001034/0.004686, allocations: 46.75 kB / 0.8152 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.004699, allocations: 4 kB / 0.8152 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.004704, allocations: 4 kB / 0.8152 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.00472, allocations: 1.812 kB / 0.8152 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.708e-05/0.004777, allocations: 0 / 0.8152 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.004782, allocations: 0 / 0.8152 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.504e-05/0.004797, allocations: 4 kB / 0.8152 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.004809, allocations: 7.984 kB / 0.8152 GB, free: 13.79 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 9.232e-05/0.004902, allocations: 277.9 kB / 0.8154 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.049e-05/0.004952, allocations: 148.9 kB / 0.8156 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.546e-05/0.005007, allocations: 152.3 kB / 0.8157 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.64e-05/0.005074, allocations: 272.2 kB / 0.816 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.218e-05/0.005156, allocations: 276 kB / 0.8163 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.744e-05/0.005243, allocations: 264.6 kB / 0.8165 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002426/0.005486, allocations: 0.5071 MB / 0.817 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-05/0.005534, allocations: 148.8 kB / 0.8171 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.508e-05/0.00558, allocations: 144.9 kB / 0.8173 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.919e-05/0.005669, allocations: 276 kB / 0.8175 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.1e-05/0.00576, allocations: 272.1 kB / 0.8178 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-05/0.005845, allocations: 264.1 kB / 0.8181 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.678e-05/0.005932, allocations: 272 kB / 0.8183 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001811/0.006113, allocations: 447.9 kB / 0.8187 GB, free: 9.988 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.678e-05/0.006169, allocations: 156.8 kB / 0.8189 GB, free: 9.828 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.284e-05/0.006252, allocations: 264.6 kB / 0.8191 GB, free: 9.562 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.678e-05/0.006319, allocations: 153.3 kB / 0.8193 GB, free: 9.406 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.237e-05/0.006411, allocations: 264.1 kB / 0.8195 GB, free: 9.141 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.425e-05/0.006456, allocations: 153.4 kB / 0.8197 GB, free: 8.984 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.875e-05/0.006524, allocations: 136 kB / 0.8198 GB, free: 8.852 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.006524, allocations: 0 / 0.8198 GB, free: 8.852 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001596/0.006684, allocations: 9.406 kB / 0.8198 GB, free: 8.844 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.0001243/0.006808, allocations: 218.4 kB / 0.82 GB, free: 8.617 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.792e-05/0.006896, allocations: 8.219 kB / 0.82 GB, free: 8.605 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.006899, allocations: 0.625 kB / 0.82 GB, free: 8.605 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.204e-06/0.006902, allocations: 4 kB / 0.82 GB, free: 8.602 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003904/0.007292, allocations: 0.7158 MB / 0.8207 GB, free: 7.883 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002613/0.007553, allocations: 249.4 kB / 0.821 GB, free: 7.609 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.427e-05/0.007588, allocations: 55.34 kB / 0.821 GB, free: 7.535 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.034e-05/0.007608, allocations: 4 kB / 0.821 GB, free: 7.531 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.549e-05/0.007634, allocations: 9.312 kB / 0.8211 GB, free: 7.523 MB / 0.7761 GB Notification: Performance of SimCode: time 8.61e-07/0.007634, allocations: 0 / 0.8211 GB, free: 7.523 MB / 0.7761 GB Notification: Performance of Templates: time 0.002095/0.009729, allocations: 323 kB / 0.8214 GB, free: 7.219 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: 5.412027039099485]