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.001058/0.001058, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001201/0.001201, allocations: 173 kB / 23.49 MB, free: 1.059 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.024/1.024, allocations: 177.1 MB / 203.8 MB, free: 5.648 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.178/2.178, allocations: 429.5 MB / 0.6736 GB, free: 4.043 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 3.517e-06/3.517e-06, allocations: 0 / 0.8782 GB, free: 6.688 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.961e-05/4.313e-05, allocations: 10.58 kB / 0.8782 GB, free: 6.68 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.0022/0.002244, allocations: 0.6325 MB / 0.8788 GB, free: 6.066 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001904/0.002434, allocations: 12.97 kB / 0.8788 GB, free: 6.055 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.779e-05/0.002492, allocations: 0 / 0.8788 GB, free: 6.055 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001038/0.002595, allocations: 3.938 kB / 0.8788 GB, free: 6.051 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 3.489e-05/0.00263, allocations: 3.984 kB / 0.8788 GB, free: 6.047 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 7.386e-05/0.002704, allocations: 4 kB / 0.8788 GB, free: 6.043 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001128/0.002817, allocations: 24.25 kB / 0.8788 GB, free: 6.023 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00015/0.002967, allocations: 19.98 kB / 0.8788 GB, free: 6.004 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.95e-05/0.003016, allocations: 25.75 kB / 0.8789 GB, free: 5.98 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.78e-05/0.003054, allocations: 8 kB / 0.8789 GB, free: 5.973 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.724e-05/0.003081, allocations: 4 kB / 0.8789 GB, free: 5.969 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.366e-05/0.003095, allocations: 4 kB / 0.8789 GB, free: 5.965 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.903e-05/0.003134, allocations: 15.92 kB / 0.8789 GB, free: 5.949 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.249e-05/0.003167, allocations: 9.031 kB / 0.8789 GB, free: 5.941 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001166/0.003283, allocations: 39.78 kB / 0.879 GB, free: 5.902 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.003287, allocations: 0 / 0.879 GB, free: 5.902 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.212e-06/0.003288, allocations: 1.094 kB / 0.879 GB, free: 5.902 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.003293, allocations: 0 / 0.879 GB, free: 5.902 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.000369/0.003662, allocations: 376.5 kB / 0.8793 GB, free: 5.496 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.003708, allocations: 9.094 kB / 0.8793 GB, free: 5.488 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.975e-05/0.003757, allocations: 8.938 kB / 0.8793 GB, free: 5.48 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001953/0.003953, allocations: 125.6 kB / 0.8794 GB, free: 5.332 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.003969, allocations: 12.31 kB / 0.8795 GB, free: 5.32 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.368e-05/0.003982, allocations: 4.375 kB / 0.8795 GB, free: 5.316 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001342/0.004116, allocations: 47.22 kB / 0.8795 GB, free: 5.266 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.004126, allocations: 192 / 0.8795 GB, free: 5.266 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.004138, allocations: 4.375 kB / 0.8795 GB, free: 5.262 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.004148, allocations: 5.969 kB / 0.8795 GB, free: 5.258 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.751e-05/0.004196, allocations: 19.92 kB / 0.8795 GB, free: 5.238 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005189/0.004715, allocations: 0.5293 MB / 0.8801 GB, free: 4.672 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001032/0.004818, allocations: 265.4 kB / 0.8803 GB, free: 4.398 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.61e-05/0.004864, allocations: 128.1 kB / 0.8804 GB, free: 4.27 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.083e-05/0.004905, allocations: 119.2 kB / 0.8805 GB, free: 4.152 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.87e-05/0.004964, allocations: 162.4 kB / 0.8807 GB, free: 3.984 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.393e-06/0.004965, allocations: 0 / 0.8807 GB, free: 3.984 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 8.387e-05/0.005049, allocations: 33.59 kB / 0.8807 GB, free: 3.945 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.006e-05/0.005119, allocations: 170.6 kB / 0.8809 GB, free: 3.766 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.005247, allocations: 187.2 kB / 0.8811 GB, free: 3.566 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.094e-05/0.005258, allocations: 25.7 kB / 0.8811 GB, free: 3.535 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.777e-05/0.005346, allocations: 150.8 kB / 0.8812 GB, free: 3.383 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.547e-06/0.005349, allocations: 0 / 0.8812 GB, free: 3.383 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.163e-05/0.005401, allocations: 24.56 kB / 0.8813 GB, free: 3.352 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.005544, allocations: 0.4883 MB / 0.8817 GB, free: 2.852 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.215e-05/0.005556, allocations: 0 / 0.8817 GB, free: 2.852 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.869e-06/0.005566, allocations: 5.594 kB / 0.8817 GB, free: 2.848 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.179e-05/0.005608, allocations: 11.67 kB / 0.8818 GB, free: 2.832 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.00561, allocations: 0 / 0.8818 GB, free: 2.832 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001177/0.005728, allocations: 40.11 kB / 0.8818 GB, free: 2.789 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.005744, allocations: 4 kB / 0.8818 GB, free: 2.785 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.005749, allocations: 0 / 0.8818 GB, free: 2.785 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.005762, allocations: 0 / 0.8818 GB, free: 2.785 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.151e-05/0.005824, allocations: 4 kB / 0.8818 GB, free: 2.781 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.523e-06/0.005831, allocations: 4 kB / 0.8818 GB, free: 2.777 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.153e-05/0.005852, allocations: 7.984 kB / 0.8818 GB, free: 2.77 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.005863, allocations: 2.062 kB / 0.8818 GB, free: 2.77 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.0001453/0.006009, allocations: 287.6 kB / 0.8821 GB, free: 2.477 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.601e-05/0.006075, allocations: 152.8 kB / 0.8822 GB, free: 2.32 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.427e-05/0.006129, allocations: 156.3 kB / 0.8824 GB, free: 2.164 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.303e-05/0.006202, allocations: 268.9 kB / 0.8826 GB, free: 1.895 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.387e-05/0.006276, allocations: 276 kB / 0.8829 GB, free: 1.617 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.999e-05/0.006356, allocations: 272.2 kB / 0.8832 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002537/0.006609, allocations: 0.5076 MB / 0.8837 GB, free: 0.793 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.049e-05/0.00665, allocations: 144.9 kB / 0.8838 GB, free: 0.6445 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000109/0.006759, allocations: 144.9 kB / 0.8839 GB, free: 0.4961 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.155e-05/0.00683, allocations: 276 kB / 0.8842 GB, free: 224 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-05/0.006918, allocations: 264.1 kB / 0.8845 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.035e-05/0.006988, allocations: 276 kB / 0.8847 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.971e-05/0.007058, allocations: 268.1 kB / 0.885 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000157/0.007215, allocations: 451.9 kB / 0.8854 GB, free: 14.94 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.077e-05/0.007266, allocations: 148.9 kB / 0.8855 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.414e-05/0.00735, allocations: 272 kB / 0.8858 GB, free: 14.51 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.725e-05/0.007447, allocations: 148.9 kB / 0.8859 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.475e-05/0.007532, allocations: 272.1 kB / 0.8862 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.712e-05/0.007579, allocations: 148.8 kB / 0.8863 GB, free: 13.93 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.726e-05/0.007636, allocations: 131.2 kB / 0.8865 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8.1e-08/0.007636, allocations: 0 / 0.8865 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000253/0.007889, allocations: 7.953 kB / 0.8865 GB, free: 13.8 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.0001393/0.008028, allocations: 218.4 kB / 0.8867 GB, free: 13.57 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 8.252e-05/0.008111, allocations: 11.69 kB / 0.8867 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.008113, allocations: 0 / 0.8867 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.743e-06/0.008115, allocations: 4.062 kB / 0.8867 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004862/0.008601, allocations: 0.7139 MB / 0.8874 GB, free: 12.83 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004625/0.009064, allocations: 241.4 kB / 0.8876 GB, free: 12.57 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.541e-05/0.009109, allocations: 59.34 kB / 0.8877 GB, free: 12.49 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.422e-05/0.009133, allocations: 0 / 0.8877 GB, free: 12.49 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.513e-05/0.009158, allocations: 8.5 kB / 0.8877 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of SimCode: time 9.02e-07/0.009159, allocations: 4 kB / 0.8877 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of Templates: time 0.002522/0.01168, allocations: 323.5 kB / 0.888 GB, free: 12.18 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.419189327862114]