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.001444/0.001444, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001442/0.001442, allocations: 169.3 kB / 24.28 MB, free: 280 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.037/1.037, allocations: 177.1 MB / 204.6 MB, free: 5.574 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.918/1.918, allocations: 377.8 MB / 0.6239 GB, free: 8.578 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 2.916e-06/2.916e-06, allocations: 0 / 0.8115 GB, free: 2.113 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.113e-05/4.404e-05, allocations: 7.188 kB / 0.8115 GB, free: 2.105 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.001933/0.001977, allocations: 0.6306 MB / 0.8121 GB, free: 1.5 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001788/0.002156, allocations: 11.98 kB / 0.8121 GB, free: 1.488 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.555e-05/0.002222, allocations: 3.938 kB / 0.8121 GB, free: 1.484 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0001151/0.002337, allocations: 0 / 0.8121 GB, free: 1.484 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 3.883e-05/0.002376, allocations: 2.766 kB / 0.8121 GB, free: 1.484 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 8.903e-05/0.002465, allocations: 4 kB / 0.8121 GB, free: 1.48 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.000102/0.002567, allocations: 23.92 kB / 0.8122 GB, free: 1.457 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001631/0.00273, allocations: 23.97 kB / 0.8122 GB, free: 1.434 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 4.568e-05/0.002775, allocations: 23.92 kB / 0.8122 GB, free: 1.41 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 3.745e-05/0.002813, allocations: 11.98 kB / 0.8122 GB, free: 1.398 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.649e-05/0.002839, allocations: 1.5 kB / 0.8122 GB, free: 1.398 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 1.244e-05/0.002852, allocations: 4 kB / 0.8122 GB, free: 1.395 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 3.542e-05/0.002887, allocations: 11.92 kB / 0.8122 GB, free: 1.383 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 3.246e-05/0.00292, allocations: 8 kB / 0.8122 GB, free: 1.375 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001102/0.00303, allocations: 40.8 kB / 0.8123 GB, free: 1.336 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.003032, allocations: 0 / 0.8123 GB, free: 1.336 MB / 0.7605 GB Notification: Performance of FrontEnd: time 8.41e-07/0.003033, allocations: 0 / 0.8123 GB, free: 1.336 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.598e-06/0.003038, allocations: 0.6562 kB / 0.8123 GB, free: 1.336 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.0003691/0.003407, allocations: 376.6 kB / 0.8126 GB, free: 0.9297 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.00345, allocations: 12.56 kB / 0.8127 GB, free: 0.918 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.794e-05/0.003498, allocations: 10.27 kB / 0.8127 GB, free: 0.9102 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001788/0.003677, allocations: 128.5 kB / 0.8128 GB, free: 0.7578 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.003689, allocations: 384 / 0.8128 GB, free: 0.7578 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.446e-05/0.003704, allocations: 8.375 kB / 0.8128 GB, free: 0.75 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/0.003829, allocations: 55.33 kB / 0.8129 GB, free: 0.6914 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.003838, allocations: 192 / 0.8129 GB, free: 0.6914 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.003848, allocations: 384 / 0.8129 GB, free: 0.6914 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.003858, allocations: 5.312 kB / 0.8129 GB, free: 0.6875 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.346e-05/0.003902, allocations: 19.94 kB / 0.8129 GB, free: 0.668 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004746/0.004377, allocations: 0.5262 MB / 0.8134 GB, free: 108 kB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001116/0.004488, allocations: 261.4 kB / 0.8136 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.222e-05/0.00453, allocations: 130.9 kB / 0.8138 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.632e-05/0.004567, allocations: 120.2 kB / 0.8139 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.725e-05/0.004624, allocations: 160.5 kB / 0.814 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 1.453e-06/0.004625, allocations: 1.469 kB / 0.814 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 7.674e-05/0.004702, allocations: 29.7 kB / 0.8141 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.441e-05/0.004767, allocations: 170.6 kB / 0.8142 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002206/0.004987, allocations: 185.8 kB / 0.8144 GB, free: 15 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.004999, allocations: 26.31 kB / 0.8144 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.422e-05/0.005063, allocations: 148.7 kB / 0.8146 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.996e-06/0.005066, allocations: 0 / 0.8146 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.13e-05/0.005108, allocations: 23.38 kB / 0.8146 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.00524, allocations: 0.4922 MB / 0.8151 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.49e-05/0.005255, allocations: 0 / 0.8151 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.24e-05/0.005268, allocations: 5.594 kB / 0.8151 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.293e-05/0.005311, allocations: 15.62 kB / 0.8151 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.005313, allocations: 0 / 0.8151 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001194/0.005433, allocations: 34.66 kB / 0.8151 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.005454, allocations: 11.98 kB / 0.8151 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.005459, allocations: 0 / 0.8151 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.005474, allocations: 0.5312 kB / 0.8151 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.56e-05/0.005549, allocations: 4.531 kB / 0.8151 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.005555, allocations: 0 / 0.8151 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.916e-05/0.005574, allocations: 4.844 kB / 0.8151 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.005584, allocations: 3.938 kB / 0.8152 GB, free: 14.2 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.674e-05/0.005681, allocations: 276.5 kB / 0.8154 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.847e-05/0.005729, allocations: 154.1 kB / 0.8156 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.085e-05/0.00578, allocations: 156.3 kB / 0.8157 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.254e-05/0.005843, allocations: 276.1 kB / 0.816 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.356e-05/0.005906, allocations: 264.1 kB / 0.8162 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.964e-05/0.005966, allocations: 264.9 kB / 0.8165 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001946/0.006161, allocations: 0.5115 MB / 0.817 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.533e-05/0.006196, allocations: 149.8 kB / 0.8171 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.82e-05/0.006234, allocations: 160.8 kB / 0.8173 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.155e-05/0.006296, allocations: 265.6 kB / 0.8175 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.609e-05/0.006362, allocations: 268.1 kB / 0.8178 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.465e-05/0.006426, allocations: 272 kB / 0.818 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.945e-05/0.006486, allocations: 268.1 kB / 0.8183 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001355/0.006621, allocations: 449.1 kB / 0.8187 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.438e-05/0.006666, allocations: 152.8 kB / 0.8189 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.458e-05/0.00674, allocations: 272 kB / 0.8191 GB, free: 9.957 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.335e-05/0.006804, allocations: 148.9 kB / 0.8193 GB, free: 9.805 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.816e-05/0.006872, allocations: 271.1 kB / 0.8195 GB, free: 9.535 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.142e-05/0.006913, allocations: 152.9 kB / 0.8197 GB, free: 9.379 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.526e-05/0.006969, allocations: 135.5 kB / 0.8198 GB, free: 9.246 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.006969, allocations: 0 / 0.8198 GB, free: 9.246 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001522/0.007121, allocations: 4 kB / 0.8198 GB, free: 9.242 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.0001217/0.007243, allocations: 214.4 kB / 0.82 GB, free: 9.02 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.061e-05/0.007323, allocations: 20.69 kB / 0.82 GB, free: 8.996 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.007325, allocations: 0 / 0.82 GB, free: 8.996 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.132e-06/0.007326, allocations: 0 / 0.82 GB, free: 8.996 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003478/0.007674, allocations: 0.7072 MB / 0.8207 GB, free: 8.285 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002714/0.007945, allocations: 245.4 kB / 0.821 GB, free: 8.016 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.686e-05/0.007982, allocations: 60.5 kB / 0.821 GB, free: 7.938 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.011e-05/0.008002, allocations: 0 / 0.821 GB, free: 7.938 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.252e-05/0.008025, allocations: 8.5 kB / 0.821 GB, free: 7.93 MB / 0.7761 GB Notification: Performance of SimCode: time 8.12e-07/0.008026, allocations: 0.5 kB / 0.821 GB, free: 7.93 MB / 0.7761 GB Notification: Performance of Templates: time 0.001913/0.009938, allocations: 327.1 kB / 0.8213 GB, free: 7.629 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.346154005033895]