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.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.001502/0.001502, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.001884/0.001884, allocations: 165 kB / 23.82 MB, free: 0.75 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.9939/0.9939, allocations: 177.1 MB / 204.2 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.93/1.93, allocations: 359 MB / 0.6052 GB, free: 11.05 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.Templates.Components.Validation.PumpMultipleRecord") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 0.7871 GB, free: 11.45 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.086e-05/3.282e-05, allocations: 4.656 kB / 0.7871 GB, free: 11.44 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.PumpMultipleRecord): time 0.005294/0.005327, allocations: 3.82 MB / 0.7908 GB, free: 7.613 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.006911/0.01224, allocations: 6.335 MB / 0.797 GB, free: 1.289 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003325/0.01257, allocations: 31.88 kB / 0.797 GB, free: 1.258 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.00399/0.01656, allocations: 1.897 MB / 0.7989 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0008246/0.01739, allocations: 0.5839 MB / 0.7994 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 2.253e-05/0.01741, allocations: 4 kB / 0.7994 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0222/0.0396, allocations: 23.99 MB / 0.8229 GB, free: 6.773 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002218/0.03983, allocations: 38.62 kB / 0.8229 GB, free: 6.719 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001206/0.04103, allocations: 0.7322 MB / 0.8236 GB, free: 5.984 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007984/0.04183, allocations: 0.5878 MB / 0.8242 GB, free: 5.395 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0001129/0.04194, allocations: 28 kB / 0.8242 GB, free: 5.367 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000195/0.04214, allocations: 28 kB / 0.8242 GB, free: 5.34 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0005587/0.0427, allocations: 0.8182 MB / 0.825 GB, free: 4.52 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0005521/0.04325, allocations: 470.6 kB / 0.8255 GB, free: 4.059 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.001081/0.04433, allocations: 1.233 MB / 0.8267 GB, free: 2.82 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.04434, allocations: 0 / 0.8267 GB, free: 2.82 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.934e-06/0.04434, allocations: 0 / 0.8267 GB, free: 2.82 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.232e-05/0.04438, allocations: 0 / 0.8267 GB, free: 2.82 MB / 0.7292 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.002476/0.04686, allocations: 2.545 MB / 0.8292 GB, free: 232 kB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.0469, allocations: 12.03 kB / 0.8292 GB, free: 220 kB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002451/0.04714, allocations: 337.7 kB / 0.8295 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001994/0.04914, allocations: 2.11 MB / 0.8316 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.095e-05/0.0492, allocations: 238.4 kB / 0.8318 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.655e-05/0.04926, allocations: 238.4 kB / 0.832 GB, free: 13.23 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001632/0.04942, allocations: 156.8 kB / 0.8322 GB, free: 13.07 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.752e-05/0.04945, allocations: 123.2 kB / 0.8323 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.874e-05/0.0495, allocations: 238.4 kB / 0.8325 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.627e-05/0.04956, allocations: 238.4 kB / 0.8327 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.588e-05/0.04962, allocations: 238.4 kB / 0.833 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001361/0.05098, allocations: 1.805 MB / 0.8347 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.446e-05/0.05107, allocations: 273.4 kB / 0.835 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.255e-05/0.05111, allocations: 130.9 kB / 0.8351 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.731e-05/0.05114, allocations: 119.2 kB / 0.8352 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.497e-05/0.05119, allocations: 156.6 kB / 0.8354 GB, free: 9.715 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 2.034e-06/0.05119, allocations: 4 kB / 0.8354 GB, free: 9.711 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 0.0002375/0.05143, allocations: 244.2 kB / 0.8356 GB, free: 9.465 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.608e-05/0.05148, allocations: 170.6 kB / 0.8358 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002488/0.05397, allocations: 2.804 MB / 0.8385 GB, free: 6.469 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.014e-05/0.05398, allocations: 25.7 kB / 0.8385 GB, free: 6.438 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009357/0.05492, allocations: 1.266 MB / 0.8398 GB, free: 5.168 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.486e-06/0.05492, allocations: 3.938 kB / 0.8398 GB, free: 5.164 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.86e-05/0.05495, allocations: 15.38 kB / 0.8398 GB, free: 5.141 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.05508, allocations: 488.4 kB / 0.8403 GB, free: 4.656 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.144e-06/0.05509, allocations: 0 / 0.8403 GB, free: 4.656 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.511e-06/0.05509, allocations: 0 / 0.8403 GB, free: 4.656 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.624e-05/0.05513, allocations: 127.2 kB / 0.8404 GB, free: 4.531 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.817e-05/0.05516, allocations: 119.2 kB / 0.8405 GB, free: 4.414 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0002505/0.05541, allocations: 244.2 kB / 0.8407 GB, free: 4.168 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.958e-05/0.05546, allocations: 131.1 kB / 0.8409 GB, free: 4.039 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.776e-05/0.0555, allocations: 127.1 kB / 0.841 GB, free: 3.914 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.215e-05/0.05557, allocations: 238.4 kB / 0.8412 GB, free: 3.68 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.981e-05/0.0556, allocations: 119.2 kB / 0.8413 GB, free: 3.562 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.272e-05/0.05568, allocations: 250.4 kB / 0.8416 GB, free: 3.316 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002793/0.05596, allocations: 127.2 kB / 0.8417 GB, free: 3.191 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.63e-05/0.056, allocations: 123.1 kB / 0.8418 GB, free: 3.07 MB / 0.7448 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.0002331/0.05623, allocations: 402.9 kB / 0.8422 GB, free: 2.664 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001858/0.05641, allocations: 359.4 kB / 0.8425 GB, free: 2.305 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001996/0.05661, allocations: 321 kB / 0.8428 GB, free: 1.98 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.204e-05/0.05668, allocations: 272.1 kB / 0.8431 GB, free: 1.707 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.26e-05/0.05674, allocations: 264.3 kB / 0.8433 GB, free: 1.441 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-05/0.0568, allocations: 268 kB / 0.8436 GB, free: 1.172 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00131/0.05811, allocations: 1.748 MB / 0.8453 GB, free: 15.38 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.88e-05/0.05815, allocations: 152.8 kB / 0.8455 GB, free: 15.23 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.518e-05/0.05818, allocations: 148.9 kB / 0.8456 GB, free: 15.07 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.514e-05/0.05825, allocations: 268.1 kB / 0.8458 GB, free: 14.8 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.849e-05/0.05833, allocations: 272 kB / 0.8461 GB, free: 14.53 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.016e-05/0.0584, allocations: 264.1 kB / 0.8464 GB, free: 14.27 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001704/0.05857, allocations: 272 kB / 0.8466 GB, free: 13.99 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003024/0.05887, allocations: 0.6563 MB / 0.8473 GB, free: 13.31 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002335/0.0591, allocations: 343.4 kB / 0.8476 GB, free: 12.96 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001518/0.05926, allocations: 264.1 kB / 0.8478 GB, free: 12.7 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000235/0.05949, allocations: 156.8 kB / 0.848 GB, free: 12.54 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.476e-05/0.05956, allocations: 264.1 kB / 0.8482 GB, free: 12.27 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.423e-05/0.05959, allocations: 152.9 kB / 0.8484 GB, free: 12.12 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.001451/0.06104, allocations: 1.458 MB / 0.8498 GB, free: 10.65 MB / 0.7605 GB Notification: Performance of sort global known variables: time 2.2e-07/0.06104, allocations: 3.938 kB / 0.8498 GB, free: 10.65 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003286/0.06137, allocations: 176 kB / 0.85 GB, free: 10.48 MB / 0.7605 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.0001322/0.0615, allocations: 218.4 kB / 0.8502 GB, free: 10.25 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 4.923e-05/0.06155, allocations: 0 / 0.8502 GB, free: 10.25 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.06156, allocations: 4 kB / 0.8502 GB, free: 10.25 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 1.423e-06/0.06156, allocations: 0 / 0.8502 GB, free: 10.25 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003806/0.06536, allocations: 2.627 MB / 0.8528 GB, free: 7.668 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003668/0.06903, allocations: 2.746 MB / 0.8554 GB, free: 4.867 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004712/0.0695, allocations: 0.4959 MB / 0.8559 GB, free: 4.344 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.001181/0.07068, allocations: 327.5 kB / 0.8562 GB, free: 4.02 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001334/0.07082, allocations: 108.5 kB / 0.8563 GB, free: 3.91 MB / 0.7605 GB Notification: Performance of SimCode: time 1.713e-06/0.07082, allocations: 0 / 0.8563 GB, free: 3.91 MB / 0.7605 GB Notification: Performance of Templates: time 0.06379/0.1346, allocations: 53.55 MB / 0.9086 GB, free: 15.78 MB / 0.823 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Templates.Components.Validation.PumpMultipleRecord_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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: 5.964594171848148]