Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001364/0.001364, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.0009751/0.0009751, allocations: 169 kB / 23.02 MB, free: 1.547 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.9631/0.9631, allocations: 177.1 MB / 203.4 MB, free: 5.652 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.199/2.199, allocations: 429.5 MB / 0.6733 GB, free: 4.066 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.544e-06/2.544e-06, allocations: 0 / 0.8781 GB, free: 6.348 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.974e-05/3.228e-05, allocations: 3.375 kB / 0.8781 GB, free: 6.344 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.001553/0.001585, allocations: 0.6398 MB / 0.8788 GB, free: 5.723 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001782/0.001764, allocations: 13.98 kB / 0.8788 GB, free: 5.711 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.675e-05/0.00182, allocations: 0 / 0.8788 GB, free: 5.711 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.000109/0.001929, allocations: 7.938 kB / 0.8788 GB, free: 5.703 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 3.854e-05/0.001968, allocations: 1.156 kB / 0.8788 GB, free: 5.703 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 8.558e-05/0.002054, allocations: 4 kB / 0.8788 GB, free: 5.699 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.597e-05/0.00215, allocations: 28.47 kB / 0.8788 GB, free: 5.676 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001402/0.00229, allocations: 16.48 kB / 0.8788 GB, free: 5.66 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.31e-05/0.002333, allocations: 25.66 kB / 0.8789 GB, free: 5.637 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.787e-05/0.002371, allocations: 11.98 kB / 0.8789 GB, free: 5.625 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.611e-05/0.002397, allocations: 4 kB / 0.8789 GB, free: 5.621 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.18e-05/0.002409, allocations: 0 / 0.8789 GB, free: 5.621 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.242e-05/0.002441, allocations: 11.94 kB / 0.8789 GB, free: 5.609 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.088e-05/0.002472, allocations: 13.34 kB / 0.8789 GB, free: 5.598 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001057/0.002578, allocations: 39.77 kB / 0.8789 GB, free: 5.559 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.002581, allocations: 0 / 0.8789 GB, free: 5.559 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.433e-06/0.002582, allocations: 4.719 kB / 0.8789 GB, free: 5.555 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.221e-06/0.002588, allocations: 0 / 0.8789 GB, free: 5.555 MB / 0.8386 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.0003346/0.002923, allocations: 369.2 kB / 0.8793 GB, free: 5.156 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.002965, allocations: 12.03 kB / 0.8793 GB, free: 5.145 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.618e-05/0.003012, allocations: 14.52 kB / 0.8793 GB, free: 5.133 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001786/0.00319, allocations: 120.5 kB / 0.8794 GB, free: 4.988 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.003207, allocations: 8.375 kB / 0.8794 GB, free: 4.98 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.238e-05/0.00322, allocations: 4.312 kB / 0.8795 GB, free: 4.977 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001415/0.003361, allocations: 52.27 kB / 0.8795 GB, free: 4.922 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.00337, allocations: 192 / 0.8795 GB, free: 4.922 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.003383, allocations: 8.375 kB / 0.8795 GB, free: 4.914 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.003394, allocations: 384 / 0.8795 GB, free: 4.914 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.105e-05/0.003425, allocations: 19.88 kB / 0.8795 GB, free: 4.895 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006316/0.004056, allocations: 0.5332 MB / 0.8801 GB, free: 4.324 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001121/0.004169, allocations: 267.9 kB / 0.8803 GB, free: 4.051 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.917e-05/0.004208, allocations: 127.6 kB / 0.8804 GB, free: 3.922 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.858e-05/0.004236, allocations: 119.2 kB / 0.8805 GB, free: 3.805 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.26e-05/0.004299, allocations: 152.6 kB / 0.8807 GB, free: 3.645 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.413e-06/0.0043, allocations: 0 / 0.8807 GB, free: 3.645 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 8.115e-05/0.004382, allocations: 37.59 kB / 0.8807 GB, free: 3.602 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.672e-05/0.004448, allocations: 171.3 kB / 0.8809 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/0.004564, allocations: 181.9 kB / 0.8811 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.989e-06/0.004574, allocations: 27.36 kB / 0.8811 GB, free: 3.195 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.57e-05/0.00464, allocations: 150.8 kB / 0.8812 GB, free: 3.043 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.856e-06/0.004643, allocations: 0 / 0.8812 GB, free: 3.043 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.33e-05/0.004676, allocations: 23.38 kB / 0.8813 GB, free: 3.012 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.004796, allocations: 0.4935 MB / 0.8817 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.19e-05/0.004808, allocations: 0 / 0.8817 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.835e-06/0.004816, allocations: 0 / 0.8817 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.221e-05/0.004858, allocations: 15.75 kB / 0.8817 GB, free: 2.488 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.004861, allocations: 0 / 0.8817 GB, free: 2.488 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001225/0.004983, allocations: 41.64 kB / 0.8818 GB, free: 2.441 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.005005, allocations: 4 kB / 0.8818 GB, free: 2.438 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.005012, allocations: 0 / 0.8818 GB, free: 2.438 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/0.005031, allocations: 3.984 kB / 0.8818 GB, free: 2.434 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.459e-05/0.005116, allocations: 8 kB / 0.8818 GB, free: 2.426 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.005122, allocations: 0 / 0.8818 GB, free: 2.426 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.827e-05/0.00514, allocations: 4 kB / 0.8818 GB, free: 2.422 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.241e-05/0.005152, allocations: 0 / 0.8818 GB, free: 2.422 MB / 0.8386 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.0001196/0.005272, allocations: 287.7 kB / 0.8821 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.472e-05/0.005327, allocations: 148.8 kB / 0.8822 GB, free: 1.977 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.945e-05/0.005386, allocations: 160.3 kB / 0.8824 GB, free: 1.816 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.066e-05/0.005457, allocations: 276.1 kB / 0.8826 GB, free: 1.539 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-05/0.00553, allocations: 272 kB / 0.8829 GB, free: 1.266 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-05/0.005601, allocations: 268.1 kB / 0.8832 GB, free: 0.9961 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002104/0.005812, allocations: 0.5037 MB / 0.8836 GB, free: 460 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-05/0.005852, allocations: 152.9 kB / 0.8838 GB, free: 300 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.89e-05/0.005901, allocations: 144.9 kB / 0.8839 GB, free: 148 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.945e-05/0.005991, allocations: 268 kB / 0.8842 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.179e-05/0.006082, allocations: 276.1 kB / 0.8845 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.853e-05/0.006151, allocations: 272 kB / 0.8847 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.313e-05/0.006224, allocations: 264.1 kB / 0.885 GB, free: 15.06 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001598/0.006384, allocations: 451.9 kB / 0.8854 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.518e-05/0.006429, allocations: 148.9 kB / 0.8855 GB, free: 14.44 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.387e-05/0.006503, allocations: 272 kB / 0.8858 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.391e-05/0.006567, allocations: 148.9 kB / 0.8859 GB, free: 14.01 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.74e-05/0.006644, allocations: 268.1 kB / 0.8862 GB, free: 13.74 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-05/0.006684, allocations: 148.8 kB / 0.8863 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.376e-05/0.006747, allocations: 135.2 kB / 0.8865 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.006748, allocations: 0 / 0.8865 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001531/0.006901, allocations: 11.95 kB / 0.8865 GB, free: 13.45 MB / 0.8542 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.00015/0.007051, allocations: 214.4 kB / 0.8867 GB, free: 13.22 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000109/0.00716, allocations: 11.69 kB / 0.8867 GB, free: 13.21 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.007163, allocations: 0 / 0.8867 GB, free: 13.21 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.082e-06/0.007164, allocations: 0 / 0.8867 GB, free: 13.21 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005613/0.007725, allocations: 0.7139 MB / 0.8874 GB, free: 12.49 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003048/0.00803, allocations: 241.4 kB / 0.8876 GB, free: 12.22 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.005e-05/0.00807, allocations: 59.34 kB / 0.8877 GB, free: 12.14 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.613e-05/0.008096, allocations: 4.062 kB / 0.8877 GB, free: 12.14 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.351e-05/0.00813, allocations: 8.5 kB / 0.8877 GB, free: 12.13 MB / 0.8542 GB Notification: Performance of SimCode: time 1.313e-06/0.008131, allocations: 0 / 0.8877 GB, free: 12.13 MB / 0.8542 GB Notification: Performance of Templates: time 0.00233/0.01046, allocations: 341.3 kB / 0.888 GB, free: 11.81 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.758416000753641]