Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord.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.001041/0.001041, allocations: 93.16 kB / 19.65 MB, free: 288 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.001188/0.001188, allocations: 168.9 kB / 23.01 MB, free: 1.562 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.9825/0.9825, allocations: 177.1 MB / 203.4 MB, free: 5.102 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.095/2.095, allocations: 429.5 MB / 0.6733 GB, free: 4.047 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.Components.Validation.PumpMultipleRecord,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|V_flow_nominal.[0-9,]+.|datDef.per.[0-9,]+..pressure.V_flow.[0-9,]+.|datRed.per.[0-9,]+..pressure.V_flow.[0-9,]+.|datAss.per.[0-9,]+..pressure.V_flow.[0-9,]+.|datPre.per.[0-9,]+..pressure.V_flow.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord") translateModel(Buildings.Templates.Components.Validation.PumpMultipleRecord,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|V_flow_nominal.[0-9,]+.|datDef.per.[0-9,]+..pressure.V_flow.[0-9,]+.|datRed.per.[0-9,]+..pressure.V_flow.[0-9,]+.|datAss.per.[0-9,]+..pressure.V_flow.[0-9,]+.|datPre.per.[0-9,]+..pressure.V_flow.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.8781 GB, free: 6.34 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.484e-05/2.652e-05, allocations: 6.25 kB / 0.8782 GB, free: 6.332 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.PumpMultipleRecord): time 0.004039/0.004066, allocations: 3.835 MB / 0.8819 GB, free: 2.5 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.006786/0.01085, allocations: 6.542 MB / 0.8883 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002216/0.01107, allocations: 27.88 kB / 0.8883 GB, free: 11.92 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.003388/0.01446, allocations: 1.958 MB / 0.8902 GB, free: 9.953 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0006293/0.01509, allocations: 0.6256 MB / 0.8908 GB, free: 9.324 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 1.704e-05/0.01511, allocations: 4 kB / 0.8908 GB, free: 9.32 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.02025/0.03536, allocations: 22.74 MB / 0.913 GB, free: 2.551 MB / 0.8699 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002103/0.03557, allocations: 42.61 kB / 0.9131 GB, free: 2.492 MB / 0.8699 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001015/0.03659, allocations: 0.6971 MB / 0.9138 GB, free: 1.793 MB / 0.8699 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005587/0.03714, allocations: 0.5956 MB / 0.9143 GB, free: 1.195 MB / 0.8699 GB Notification: Performance of NFPackage.collectConstants: time 6.774e-05/0.03721, allocations: 28 kB / 0.9144 GB, free: 1.168 MB / 0.8699 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001629/0.03738, allocations: 32 kB / 0.9144 GB, free: 1.137 MB / 0.8699 GB Notification: Performance of NFScalarize.scalarize: time 0.0004845/0.03786, allocations: 0.8221 MB / 0.9152 GB, free: 320 kB / 0.8699 GB Notification: Performance of NFVerifyModel.verify: time 0.000358/0.03822, allocations: 462.6 kB / 0.9156 GB, free: 15.86 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0009438/0.03916, allocations: 1.241 MB / 0.9169 GB, free: 14.61 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.03917, allocations: 0 / 0.9169 GB, free: 14.61 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.964e-06/0.03917, allocations: 0 / 0.9169 GB, free: 14.61 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.416e-05/0.03918, allocations: 4 kB / 0.9169 GB, free: 14.61 MB / 0.8855 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.002101/0.04128, allocations: 2.549 MB / 0.9194 GB, free: 12.01 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.5e-05/0.04134, allocations: 12.02 kB / 0.9194 GB, free: 12 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003151/0.04165, allocations: 341.7 kB / 0.9197 GB, free: 11.66 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001896/0.04355, allocations: 2.122 MB / 0.9218 GB, free: 9.469 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.95e-05/0.04361, allocations: 238.4 kB / 0.922 GB, free: 9.234 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.864e-05/0.04367, allocations: 238.4 kB / 0.9222 GB, free: 9 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.22e-05/0.04374, allocations: 152.8 kB / 0.9224 GB, free: 8.844 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.058e-05/0.04377, allocations: 123.2 kB / 0.9225 GB, free: 8.723 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.48e-05/0.04384, allocations: 238.4 kB / 0.9227 GB, free: 8.488 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-05/0.0439, allocations: 238.4 kB / 0.9229 GB, free: 8.254 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.994e-05/0.04396, allocations: 250.4 kB / 0.9232 GB, free: 8.008 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00123/0.04519, allocations: 1.805 MB / 0.9249 GB, free: 6.172 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001038/0.04529, allocations: 273.4 kB / 0.9252 GB, free: 5.891 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.963e-05/0.04533, allocations: 126.9 kB / 0.9253 GB, free: 5.762 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.388e-05/0.04536, allocations: 119.2 kB / 0.9254 GB, free: 5.645 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.749e-05/0.04542, allocations: 156.6 kB / 0.9256 GB, free: 5.48 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.04542, allocations: 4 kB / 0.9256 GB, free: 5.477 MB / 0.8855 GB Notification: Performance of matching and sorting (n=0): time 0.0002126/0.04564, allocations: 244.2 kB / 0.9258 GB, free: 5.23 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.508e-05/0.0457, allocations: 170.6 kB / 0.926 GB, free: 5.051 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00242/0.04812, allocations: 2.804 MB / 0.9287 GB, free: 2.234 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 9.458e-06/0.04813, allocations: 25.7 kB / 0.9287 GB, free: 2.203 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008559/0.04899, allocations: 1.266 MB / 0.93 GB, free: 0.9336 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.404e-06/0.04899, allocations: 0 / 0.93 GB, free: 0.9336 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.096e-05/0.04901, allocations: 19.31 kB / 0.93 GB, free: 0.9062 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.04912, allocations: 492.4 kB / 0.9305 GB, free: 428 kB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.274e-06/0.04913, allocations: 0 / 0.9305 GB, free: 428 kB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.98e-06/0.04914, allocations: 4 kB / 0.9305 GB, free: 424 kB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.893e-05/0.04918, allocations: 123.2 kB / 0.9306 GB, free: 300 kB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.251e-05/0.04921, allocations: 119.2 kB / 0.9307 GB, free: 180 kB / 0.8855 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0001721/0.04938, allocations: 240.3 kB / 0.9309 GB, free: 15.93 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 4.184e-05/0.04942, allocations: 123.2 kB / 0.9311 GB, free: 15.81 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-05/0.04945, allocations: 131.2 kB / 0.9312 GB, free: 15.68 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.874e-05/0.04952, allocations: 238.4 kB / 0.9314 GB, free: 15.45 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.885e-05/0.04955, allocations: 123.2 kB / 0.9315 GB, free: 15.32 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.449e-05/0.04961, allocations: 250.2 kB / 0.9318 GB, free: 15.08 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002328/0.04984, allocations: 123.2 kB / 0.9319 GB, free: 14.96 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3e-05/0.04987, allocations: 131.1 kB / 0.932 GB, free: 14.83 MB / 0.9011 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.0002057/0.05007, allocations: 395 kB / 0.9324 GB, free: 14.43 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001689/0.05024, allocations: 359.4 kB / 0.9327 GB, free: 14.07 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001872/0.05043, allocations: 317.1 kB / 0.933 GB, free: 13.75 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-05/0.05049, allocations: 272 kB / 0.9333 GB, free: 13.48 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.169e-05/0.05057, allocations: 268.3 kB / 0.9335 GB, free: 13.21 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.9e-05/0.05064, allocations: 272 kB / 0.9338 GB, free: 12.94 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001355/0.05199, allocations: 1.745 MB / 0.9355 GB, free: 11.15 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.625e-05/0.05203, allocations: 148.8 kB / 0.9356 GB, free: 11 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.667e-05/0.05206, allocations: 148.9 kB / 0.9358 GB, free: 10.85 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.076e-05/0.05213, allocations: 268.1 kB / 0.936 GB, free: 10.58 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-05/0.0522, allocations: 276 kB / 0.9363 GB, free: 10.3 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.394e-05/0.05226, allocations: 268.1 kB / 0.9366 GB, free: 10.03 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.431e-05/0.05233, allocations: 268 kB / 0.9368 GB, free: 9.762 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002584/0.05258, allocations: 0.6563 MB / 0.9375 GB, free: 9.078 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002211/0.0528, allocations: 351.3 kB / 0.9378 GB, free: 8.727 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001445/0.05295, allocations: 268.1 kB / 0.938 GB, free: 8.457 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002354/0.05318, allocations: 152.8 kB / 0.9382 GB, free: 8.301 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.92e-05/0.05325, allocations: 272.1 kB / 0.9385 GB, free: 8.027 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.47e-05/0.05329, allocations: 148.9 kB / 0.9386 GB, free: 7.875 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.001319/0.05461, allocations: 1.455 MB / 0.94 GB, free: 6.414 MB / 0.9011 GB Notification: Performance of sort global known variables: time 6e-08/0.05461, allocations: 0 / 0.94 GB, free: 6.414 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0003067/0.05491, allocations: 183.9 kB / 0.9402 GB, free: 6.234 MB / 0.9011 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.0001395/0.05505, allocations: 210.4 kB / 0.9404 GB, free: 6.02 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 5.487e-05/0.05511, allocations: 7.938 kB / 0.9404 GB, free: 6.012 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.05511, allocations: 0 / 0.9404 GB, free: 6.012 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 2.254e-06/0.05511, allocations: 4 kB / 0.9404 GB, free: 6.008 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003195/0.05831, allocations: 2.609 MB / 0.9429 GB, free: 3.445 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002525/0.06083, allocations: 2.75 MB / 0.9456 GB, free: 0.6406 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003633/0.0612, allocations: 0.5037 MB / 0.9461 GB, free: 112 kB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0006718/0.06187, allocations: 315.6 kB / 0.9464 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001076/0.06198, allocations: 108.5 kB / 0.9465 GB, free: 15.69 MB / 0.9167 GB Notification: Performance of SimCode: time 1.272e-06/0.06198, allocations: 0 / 0.9465 GB, free: 15.69 MB / 0.9167 GB Notification: Performance of Templates: time 0.06414/0.1261, allocations: 53.49 MB / 0.9988 GB, free: 11.55 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe ; mkfifo Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe >> ../files/Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord.sim & ./Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Components_Validation_PumpMultipleRecord.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: 6.186797451227903]