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.001343/0.001343, 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.004843/0.004843, allocations: 165 kB / 23.02 MB, free: 1.551 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.9816/0.9816, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.058/2.058, allocations: 429.5 MB / 0.6732 GB, free: 4.051 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 1.793e-06/1.793e-06, allocations: 0 / 0.8781 GB, free: 6.352 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.585e-05/1.764e-05, allocations: 3.625 kB / 0.8781 GB, free: 6.348 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.001112/0.00113, allocations: 0.643 MB / 0.8788 GB, free: 5.727 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001474/0.001277, allocations: 11.92 kB / 0.8788 GB, free: 5.715 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.669e-05/0.001324, allocations: 0 / 0.8788 GB, free: 5.715 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 9.046e-05/0.001414, allocations: 4.969 kB / 0.8788 GB, free: 5.711 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 3.169e-05/0.001446, allocations: 4 kB / 0.8788 GB, free: 5.707 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 6.871e-05/0.001515, allocations: 0 / 0.8788 GB, free: 5.707 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.107e-05/0.001596, allocations: 27.7 kB / 0.8788 GB, free: 5.684 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001335/0.001729, allocations: 15.98 kB / 0.8788 GB, free: 5.668 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.574e-05/0.001765, allocations: 33 kB / 0.8789 GB, free: 5.637 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 2.713e-05/0.001792, allocations: 11.98 kB / 0.8789 GB, free: 5.625 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.785e-05/0.00181, allocations: 4 kB / 0.8789 GB, free: 5.621 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.002e-05/0.00182, allocations: 1.125 kB / 0.8789 GB, free: 5.621 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.721e-05/0.001847, allocations: 7.938 kB / 0.8789 GB, free: 5.613 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.689e-05/0.001874, allocations: 15.98 kB / 0.8789 GB, free: 5.598 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 8.204e-05/0.001956, allocations: 32.91 kB / 0.8789 GB, free: 5.566 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.001958, allocations: 0 / 0.8789 GB, free: 5.566 MB / 0.8386 GB Notification: Performance of FrontEnd: time 4.61e-07/0.001959, allocations: 1.094 kB / 0.8789 GB, free: 5.566 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.001964, allocations: 4 kB / 0.8789 GB, free: 5.562 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.0004125/0.002377, allocations: 372.5 kB / 0.8793 GB, free: 5.16 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.002412, allocations: 12.66 kB / 0.8793 GB, free: 5.148 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.295e-05/0.002445, allocations: 4.938 kB / 0.8793 GB, free: 5.145 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/0.002576, allocations: 135.9 kB / 0.8794 GB, free: 4.988 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.335e-06/0.002584, allocations: 4.312 kB / 0.8794 GB, free: 4.984 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.267e-05/0.002597, allocations: 4.375 kB / 0.8794 GB, free: 4.98 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.31e-05/0.00269, allocations: 50.25 kB / 0.8795 GB, free: 4.926 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.002699, allocations: 192 / 0.8795 GB, free: 4.926 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.729e-06/0.002709, allocations: 8.359 kB / 0.8795 GB, free: 4.918 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.002716, allocations: 384 / 0.8795 GB, free: 4.918 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.044e-05/0.002747, allocations: 19.88 kB / 0.8795 GB, free: 4.898 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003474/0.003094, allocations: 0.5293 MB / 0.88 GB, free: 4.332 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.454e-05/0.003169, allocations: 269.9 kB / 0.8803 GB, free: 4.055 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.098e-05/0.0032, allocations: 132.2 kB / 0.8804 GB, free: 3.922 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.424e-05/0.003224, allocations: 123.1 kB / 0.8805 GB, free: 3.801 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.154e-05/0.003265, allocations: 157.6 kB / 0.8807 GB, free: 3.637 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 8.21e-07/0.003266, allocations: 0 / 0.8807 GB, free: 3.637 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 5.591e-05/0.003322, allocations: 34.31 kB / 0.8807 GB, free: 3.598 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.51e-05/0.003367, allocations: 170.6 kB / 0.8809 GB, free: 3.418 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.024e-05/0.003458, allocations: 179.5 kB / 0.8811 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.416e-06/0.003466, allocations: 25.7 kB / 0.8811 GB, free: 3.195 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.04e-05/0.003516, allocations: 150.8 kB / 0.8812 GB, free: 3.043 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.395e-06/0.003519, allocations: 0 / 0.8812 GB, free: 3.043 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.62e-05/0.003545, allocations: 24.34 kB / 0.8813 GB, free: 3.012 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.995e-05/0.003645, allocations: 0.4922 MB / 0.8817 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.657e-06/0.003654, allocations: 0 / 0.8817 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.881e-06/0.003659, allocations: 4.688 kB / 0.8817 GB, free: 2.504 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.829e-05/0.003688, allocations: 19.75 kB / 0.8818 GB, free: 2.48 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.00369, allocations: 0 / 0.8818 GB, free: 2.48 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.782e-05/0.003768, allocations: 29.7 kB / 0.8818 GB, free: 2.445 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.016e-05/0.003778, allocations: 8 kB / 0.8818 GB, free: 2.438 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.003782, allocations: 0 / 0.8818 GB, free: 2.438 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.003799, allocations: 0 / 0.8818 GB, free: 2.438 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.087e-05/0.00385, allocations: 11.98 kB / 0.8818 GB, free: 2.426 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.987e-06/0.003853, allocations: 0 / 0.8818 GB, free: 2.426 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.256e-05/0.003866, allocations: 4 kB / 0.8818 GB, free: 2.422 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.243e-06/0.003873, 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 7.551e-05/0.003949, allocations: 287.6 kB / 0.8821 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.184e-05/0.003991, allocations: 156.8 kB / 0.8822 GB, free: 1.969 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.967e-05/0.00403, allocations: 152.4 kB / 0.8824 GB, free: 1.816 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.468e-05/0.004085, allocations: 280.1 kB / 0.8826 GB, free: 1.535 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.988e-05/0.004135, allocations: 264.1 kB / 0.8829 GB, free: 1.27 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.816e-05/0.004183, allocations: 268 kB / 0.8831 GB, free: 1 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001502/0.004333, allocations: 0.5037 MB / 0.8836 GB, free: 464 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.807e-05/0.004361, allocations: 148.9 kB / 0.8838 GB, free: 308 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.082e-05/0.004392, allocations: 156.8 kB / 0.8839 GB, free: 144 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.806e-05/0.00445, allocations: 264.1 kB / 0.8842 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.343e-05/0.004504, allocations: 272 kB / 0.8844 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.941e-05/0.004553, allocations: 272.1 kB / 0.8847 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.971e-05/0.004603, allocations: 264.1 kB / 0.885 GB, free: 15.06 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000108/0.004711, allocations: 455.9 kB / 0.8854 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.353e-05/0.004744, allocations: 148.8 kB / 0.8855 GB, free: 14.44 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.919e-05/0.004803, allocations: 268.1 kB / 0.8858 GB, free: 14.17 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.102e-05/0.004854, allocations: 144.9 kB / 0.8859 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.838e-05/0.004913, allocations: 272 kB / 0.8862 GB, free: 13.75 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-05/0.004944, allocations: 148.9 kB / 0.8863 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.827e-05/0.004982, allocations: 131.2 kB / 0.8865 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.1e-08/0.004982, allocations: 0 / 0.8865 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002723/0.005255, 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 8.323e-05/0.005338, allocations: 218.4 kB / 0.8867 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 5.97e-05/0.005398, allocations: 15.62 kB / 0.8867 GB, free: 13.21 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.005399, allocations: 4 kB / 0.8867 GB, free: 13.2 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.042e-06/0.0054, allocations: 0 / 0.8867 GB, free: 13.2 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002894/0.005689, allocations: 0.7081 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.0002023/0.005892, allocations: 245.4 kB / 0.8876 GB, free: 12.22 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.861e-05/0.00592, allocations: 55.34 kB / 0.8877 GB, free: 12.15 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.653e-05/0.005937, allocations: 8.062 kB / 0.8877 GB, free: 12.14 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.981e-05/0.005957, allocations: 8.5 kB / 0.8877 GB, free: 12.13 MB / 0.8542 GB Notification: Performance of SimCode: time 5.21e-07/0.005957, allocations: 0 / 0.8877 GB, free: 12.13 MB / 0.8542 GB Notification: Performance of Templates: time 0.001628/0.007586, allocations: 322.6 kB / 0.888 GB, free: 11.83 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.503616674803197]