Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.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.0009701/0.0009701, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001987/0.001987, 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.06/1.06, allocations: 177.1 MB / 203.8 MB, free: 5.621 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.145/2.145, allocations: 429.5 MB / 0.6736 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.MultiMinInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulMin.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulMin.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.304e-06/2.304e-06, allocations: 0 / 0.8782 GB, free: 6.676 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.994e-05/2.224e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.672 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger): time 0.001133/0.001156, allocations: 0.6335 MB / 0.8788 GB, free: 6.055 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001335/0.001289, allocations: 10.02 kB / 0.8788 GB, free: 6.047 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.859e-05/0.001338, allocations: 0 / 0.8788 GB, free: 6.047 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 8.627e-05/0.001424, allocations: 3.938 kB / 0.8788 GB, free: 6.043 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 2.734e-05/0.001451, allocations: 1.062 kB / 0.8788 GB, free: 6.043 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 6.541e-05/0.001517, allocations: 7.984 kB / 0.8788 GB, free: 6.035 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.057e-05/0.001597, allocations: 24.47 kB / 0.8788 GB, free: 6.016 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.001715, allocations: 21.28 kB / 0.8789 GB, free: 5.996 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.48e-05/0.00175, allocations: 23.92 kB / 0.8789 GB, free: 5.973 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 2.635e-05/0.001776, allocations: 8 kB / 0.8789 GB, free: 5.965 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.914e-05/0.001795, allocations: 5.094 kB / 0.8789 GB, free: 5.961 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.023e-05/0.001805, allocations: 4 kB / 0.8789 GB, free: 5.957 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.749e-05/0.001833, allocations: 11.92 kB / 0.8789 GB, free: 5.945 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.65e-05/0.001859, allocations: 16.64 kB / 0.8789 GB, free: 5.93 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 7.956e-05/0.001939, allocations: 27.86 kB / 0.879 GB, free: 5.902 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.893e-06/0.001941, allocations: 6.188 kB / 0.879 GB, free: 5.898 MB / 0.8386 GB Notification: Performance of FrontEnd: time 4.4e-07/0.001941, allocations: 0 / 0.879 GB, free: 5.898 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.196e-06/0.001944, allocations: 0 / 0.879 GB, free: 5.898 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.0002673/0.002212, allocations: 380.5 kB / 0.8793 GB, free: 5.488 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.002246, allocations: 8.031 kB / 0.8793 GB, free: 5.48 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.297e-05/0.002279, allocations: 4.938 kB / 0.8793 GB, free: 5.477 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.002405, allocations: 133.6 kB / 0.8795 GB, free: 5.32 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.714e-06/0.002412, allocations: 4.375 kB / 0.8795 GB, free: 5.316 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.015e-05/0.002423, allocations: 12.94 kB / 0.8795 GB, free: 5.305 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.24e-05/0.002515, allocations: 50.19 kB / 0.8795 GB, free: 5.25 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.67e-06/0.002521, allocations: 0.9688 kB / 0.8795 GB, free: 5.25 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.356e-06/0.002529, allocations: 384 / 0.8795 GB, free: 5.25 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.002535, allocations: 3.812 kB / 0.8795 GB, free: 5.25 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.296e-05/0.002568, allocations: 27.86 kB / 0.8796 GB, free: 5.223 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003447/0.002913, allocations: 0.5254 MB / 0.8801 GB, free: 4.66 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.369e-05/0.002986, allocations: 261.4 kB / 0.8803 GB, free: 4.391 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.306e-05/0.003019, allocations: 127.6 kB / 0.8804 GB, free: 4.262 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.493e-05/0.003044, allocations: 119.2 kB / 0.8806 GB, free: 4.145 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.869e-05/0.003083, allocations: 160.6 kB / 0.8807 GB, free: 3.977 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 8.02e-07/0.003084, allocations: 0 / 0.8807 GB, free: 3.977 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 5.604e-05/0.00314, allocations: 37.58 kB / 0.8807 GB, free: 3.934 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.568e-05/0.003196, allocations: 175.2 kB / 0.8809 GB, free: 3.75 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.998e-05/0.003286, allocations: 173.9 kB / 0.8811 GB, free: 3.562 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.334e-06/0.003293, allocations: 26.86 kB / 0.8811 GB, free: 3.531 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.764e-05/0.003341, allocations: 146.8 kB / 0.8812 GB, free: 3.383 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.304e-06/0.003343, allocations: 0 / 0.8812 GB, free: 3.383 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.782e-05/0.003371, allocations: 31.86 kB / 0.8813 GB, free: 3.344 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.723e-05/0.003468, allocations: 0.4898 MB / 0.8817 GB, free: 2.844 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.596e-06/0.003476, allocations: 4 kB / 0.8818 GB, free: 2.84 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.121e-06/0.003483, allocations: 0 / 0.8818 GB, free: 2.84 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.889e-05/0.003511, allocations: 15.73 kB / 0.8818 GB, free: 2.82 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.003513, allocations: 0 / 0.8818 GB, free: 2.82 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.169e-05/0.003585, allocations: 37.64 kB / 0.8818 GB, free: 2.777 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/0.003595, allocations: 6.5 kB / 0.8818 GB, free: 2.773 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.942e-06/0.003601, allocations: 7.984 kB / 0.8818 GB, free: 2.766 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.003611, allocations: 0 / 0.8818 GB, free: 2.766 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.295e-05/0.003654, allocations: 0 / 0.8818 GB, free: 2.766 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.003659, allocations: 0 / 0.8818 GB, free: 2.766 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.086e-05/0.003669, allocations: 4 kB / 0.8818 GB, free: 2.762 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/0.003679, allocations: 7.984 kB / 0.8818 GB, free: 2.754 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 (mulMin.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 8.107e-05/0.00376, allocations: 283.7 kB / 0.8821 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.332e-05/0.003803, allocations: 156.8 kB / 0.8822 GB, free: 2.305 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.929e-05/0.003842, allocations: 152.3 kB / 0.8824 GB, free: 2.152 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.126e-05/0.003894, allocations: 268.2 kB / 0.8826 GB, free: 1.883 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.443e-05/0.003948, allocations: 279.9 kB / 0.8829 GB, free: 1.602 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-05/0.004001, allocations: 264.1 kB / 0.8832 GB, free: 1.336 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001536/0.004154, allocations: 0.5037 MB / 0.8837 GB, free: 0.7891 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-05/0.004188, allocations: 156.8 kB / 0.8838 GB, free: 0.6289 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.819e-05/0.004216, allocations: 144.9 kB / 0.8839 GB, free: 492 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.391e-05/0.00427, allocations: 276 kB / 0.8842 GB, free: 208 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.29e-05/0.004333, allocations: 268.1 kB / 0.8845 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-05/0.004384, allocations: 272.3 kB / 0.8847 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.837e-05/0.004432, allocations: 268.1 kB / 0.885 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001098/0.004542, allocations: 451.9 kB / 0.8854 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.787e-05/0.00458, allocations: 148.9 kB / 0.8856 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.024e-05/0.00464, allocations: 268 kB / 0.8858 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.18e-05/0.004692, allocations: 148.9 kB / 0.886 GB, free: 14.35 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.183e-05/0.004754, allocations: 264.1 kB / 0.8862 GB, free: 14.08 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-05/0.004788, allocations: 156.8 kB / 0.8864 GB, free: 13.92 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.308e-05/0.004831, allocations: 131.2 kB / 0.8865 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.004831, allocations: 0 / 0.8865 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001421/0.004973, allocations: 15.95 kB / 0.8865 GB, free: 13.78 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.423e-05/0.005057, allocations: 217.2 kB / 0.8867 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 5.54e-05/0.005113, allocations: 15.69 kB / 0.8867 GB, free: 13.54 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.032e-06/0.005114, allocations: 0 / 0.8867 GB, free: 13.54 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.012e-06/0.005115, allocations: 0 / 0.8867 GB, free: 13.54 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003028/0.005418, allocations: 0.71 MB / 0.8874 GB, free: 12.82 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002062/0.005624, allocations: 245.4 kB / 0.8876 GB, free: 12.55 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.718e-05/0.005661, allocations: 59.34 kB / 0.8877 GB, free: 12.47 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.688e-05/0.005678, allocations: 4.062 kB / 0.8877 GB, free: 12.47 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.443e-05/0.005702, allocations: 12.5 kB / 0.8877 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of SimCode: time 6.11e-07/0.005703, allocations: 0 / 0.8877 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of Templates: time 0.001728/0.007431, allocations: 309.2 kB / 0.888 GB, free: 12.17 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMinInteger.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.315388824790716]