Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Templates.Components.Validation.PumpMultipleRecord.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 115.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001531/0.001531, allocations: 192.2 kB / 22.17 MB, free: 5.652 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.57/1.57, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.871/2.871, allocations: 476.7 MB / 0.7645 GB, free: 10.11 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Templates.Components.Validation.PumpMultipleRecord,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|V_flow_nominal.1.|V_flow_nominal.2.|datDef.per.1..pressure.V_flow.2.|datDef.per.2..pressure.V_flow.2.|datRed.per.1..pressure.V_flow.2.|datRed.per.2..pressure.V_flow.2.|datAss.per.1..pressure.V_flow.2.|datAss.per.2..pressure.V_flow.2.|datPre.per.1..pressure.V_flow.2.|datPre.per.2..pressure.V_flow.2.",fileNamePrefix="Buildings_11_Buildings.Templates.Components.Validation.PumpMultipleRecord") translateModel(Buildings.Templates.Components.Validation.PumpMultipleRecord,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|V_flow_nominal.1.|V_flow_nominal.2.|datDef.per.1..pressure.V_flow.2.|datDef.per.2..pressure.V_flow.2.|datRed.per.1..pressure.V_flow.2.|datRed.per.2..pressure.V_flow.2.|datAss.per.1..pressure.V_flow.2.|datAss.per.2..pressure.V_flow.2.|datPre.per.1..pressure.V_flow.2.|datPre.per.2..pressure.V_flow.2.",fileNamePrefix="Buildings_11_Buildings.Templates.Components.Validation.PumpMultipleRecord") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001995/0.001995, allocations: 60.2 kB / 1.109 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4586/0.4606, allocations: 168.7 MB / 1.274 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.PumpMultipleRecord): time 0.006023/0.4666, allocations: 3.835 MB / 1.278 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01013/0.4767, allocations: 6.369 MB / 1.284 GB, free: 0.9688 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005078/0.4772, allocations: 23.94 kB / 1.284 GB, free: 0.9453 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.005505/0.4827, allocations: 1.908 MB / 1.286 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001363/0.4841, allocations: 0.5676 MB / 1.286 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 3.035e-05/0.4841, allocations: 4 kB / 1.286 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.03567/0.5198, allocations: 23.2 MB / 1.309 GB, free: 7.23 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002786/0.5201, allocations: 46.44 kB / 1.309 GB, free: 7.172 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00122/0.5213, allocations: 0.5718 MB / 1.31 GB, free: 6.598 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000945/0.5223, allocations: 0.6648 MB / 1.31 GB, free: 5.93 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001103/0.5224, allocations: 28 kB / 1.31 GB, free: 5.902 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002031/0.5226, allocations: 28 kB / 1.31 GB, free: 5.875 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0007406/0.5233, allocations: 0.7475 MB / 1.311 GB, free: 5.125 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0009371/0.5242, allocations: 0.8309 MB / 1.312 GB, free: 4.289 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002426/0.5267, allocations: 2.108 MB / 1.314 GB, free: 2.172 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.5267, allocations: 0 / 1.314 GB, free: 2.172 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.455e-06/0.5267, allocations: 0 / 1.314 GB, free: 2.172 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.787e-05/0.5267, allocations: 0 / 1.314 GB, free: 2.172 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.004008/0.5307, allocations: 2.258 MB / 1.316 GB, free: 15.85 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.5308, allocations: 8.031 kB / 1.316 GB, free: 15.84 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003308/0.5311, allocations: 297.6 kB / 1.317 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004176/0.5353, allocations: 2.498 MB / 1.319 GB, free: 12.99 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.975e-05/0.5353, allocations: 154.5 kB / 1.319 GB, free: 12.84 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.431e-05/0.5354, allocations: 150.6 kB / 1.319 GB, free: 12.69 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.938e-05/0.5355, allocations: 101 kB / 1.319 GB, free: 12.58 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.846e-05/0.5355, allocations: 75.28 kB / 1.319 GB, free: 12.51 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.508e-05/0.5356, allocations: 154.5 kB / 1.32 GB, free: 12.36 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.095e-05/0.5357, allocations: 154.6 kB / 1.32 GB, free: 12.2 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.951e-05/0.5357, allocations: 154.6 kB / 1.32 GB, free: 12.05 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001363/0.5371, allocations: 1.14 MB / 1.321 GB, free: 10.86 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000109/0.5372, allocations: 169.1 kB / 1.321 GB, free: 10.69 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.489e-05/0.5373, allocations: 88.14 kB / 1.321 GB, free: 10.6 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.148e-05/0.5373, allocations: 83.27 kB / 1.321 GB, free: 10.52 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.62e-05/0.5374, allocations: 105.8 kB / 1.321 GB, free: 10.4 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.433e-06/0.5374, allocations: 0 / 1.321 GB, free: 10.4 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 0.000328/0.5377, allocations: 248.1 kB / 1.322 GB, free: 10.15 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.284e-05/0.5378, allocations: 130.6 kB / 1.322 GB, free: 10.01 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004108/0.5419, allocations: 2.856 MB / 1.325 GB, free: 7.145 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.5419, allocations: 25.7 kB / 1.325 GB, free: 7.113 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.001087/0.543, allocations: 0.9106 MB / 1.325 GB, free: 6.199 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.937e-06/0.543, allocations: 0 / 1.325 GB, free: 6.199 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.542e-05/0.5431, allocations: 13.66 kB / 1.325 GB, free: 6.18 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001823/0.5432, allocations: 306 kB / 1.326 GB, free: 5.875 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.476e-06/0.5433, allocations: 0 / 1.326 GB, free: 5.875 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.915e-06/0.5433, allocations: 4 kB / 1.326 GB, free: 5.871 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.83e-05/0.5433, allocations: 79.28 kB / 1.326 GB, free: 5.793 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.668e-05/0.5434, allocations: 75.28 kB / 1.326 GB, free: 5.719 MB / 1.029 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0003689/0.5437, allocations: 240.2 kB / 1.326 GB, free: 5.477 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.924e-05/0.5438, allocations: 83.22 kB / 1.326 GB, free: 5.395 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.591e-05/0.5438, allocations: 79.27 kB / 1.326 GB, free: 5.316 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.859e-05/0.5439, allocations: 162.5 kB / 1.326 GB, free: 5.156 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.11e-05/0.544, allocations: 83.22 kB / 1.327 GB, free: 5.074 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.415e-05/0.544, allocations: 150.6 kB / 1.327 GB, free: 4.926 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006506/0.5447, allocations: 95.19 kB / 1.327 GB, free: 4.832 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.076e-05/0.5447, allocations: 75.28 kB / 1.327 GB, free: 4.758 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (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 prepare postOptimizeDAE: time 0.001103/0.5458, allocations: 0.949 MB / 1.328 GB, free: 3.797 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002989/0.5461, allocations: 315.5 kB / 1.328 GB, free: 3.48 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003737/0.5465, allocations: 349.1 kB / 1.328 GB, free: 3.125 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001018/0.5466, allocations: 176.3 kB / 1.329 GB, free: 2.945 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.065e-05/0.5467, allocations: 180.2 kB / 1.329 GB, free: 2.762 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.618e-05/0.5468, allocations: 180.3 kB / 1.329 GB, free: 2.578 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001261/0.548, allocations: 1.084 MB / 1.33 GB, free: 1.438 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-05/0.5481, allocations: 112.9 kB / 1.33 GB, free: 1.32 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.807e-05/0.5481, allocations: 101 kB / 1.33 GB, free: 1.215 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.031e-05/0.5482, allocations: 180.2 kB / 1.33 GB, free: 1.031 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.783e-05/0.5483, allocations: 184.2 kB / 1.331 GB, free: 0.8438 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.616e-05/0.5484, allocations: 184.3 kB / 1.331 GB, free: 0.6562 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.223e-05/0.5485, allocations: 184.2 kB / 1.331 GB, free: 480 kB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004098/0.5489, allocations: 0.5106 MB / 1.331 GB, free: 15.93 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005068/0.5494, allocations: 373 kB / 1.332 GB, free: 15.54 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002696/0.5497, allocations: 188.2 kB / 1.332 GB, free: 15.35 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005452/0.5502, allocations: 124.9 kB / 1.332 GB, free: 15.22 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/0.5503, allocations: 184.2 kB / 1.332 GB, free: 15.04 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.209e-05/0.5504, allocations: 108.9 kB / 1.332 GB, free: 14.92 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.003061/0.5534, allocations: 2.091 MB / 1.334 GB, free: 12.82 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.5534, allocations: 4 kB / 1.334 GB, free: 12.82 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0005464/0.554, allocations: 180 kB / 1.335 GB, free: 12.64 MB / 1.045 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.0001794/0.5542, allocations: 171.1 kB / 1.335 GB, free: 12.47 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 5.919e-05/0.5542, allocations: 0 / 1.335 GB, free: 12.47 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.5542, allocations: 0 / 1.335 GB, free: 12.47 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.282e-06/0.5542, allocations: 0 / 1.335 GB, free: 12.47 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005963/0.5602, allocations: 2.355 MB / 1.337 GB, free: 10.16 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005249/0.5654, allocations: 3.541 MB / 1.34 GB, free: 6.574 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001645/0.5671, allocations: 1.72 MB / 1.342 GB, free: 4.812 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.001729/0.5688, allocations: 431.5 kB / 1.343 GB, free: 4.387 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001761/0.569, allocations: 115.4 kB / 1.343 GB, free: 4.273 MB / 1.045 GB Notification: Performance of SimCode: time 1.182e-06/0.569, allocations: 0 / 1.343 GB, free: 4.273 MB / 1.045 GB Notification: Performance of Templates: time 0.09131/0.6603, allocations: 49.85 MB / 1.391 GB, free: 3.496 MB / 1.092 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Templates.Components.Validation.PumpMultipleRecord.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe ; mkfifo Buildings_11_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe >> ../files/Buildings_11_Buildings.Templates.Components.Validation.PumpMultipleRecord.sim & ./Buildings_11_Buildings.Templates.Components.Validation.PumpMultipleRecord -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Templates.Components.Validation.PumpMultipleRecord_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Components_Validation_PumpMultipleRecord.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Templates.Components.Validation.PumpMultipleRecord.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.874120847787708]