Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Movers.Validation.PressureCurve.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.001699/0.001699, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.002152/0.002152, allocations: 212.6 kB / 22.24 MB, free: 5.262 MB / 14.72 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.571/1.571, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.462/3.462, allocations: 0.4892 GB / 0.7943 GB, free: 35.56 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.Fluid.Movers.Validation.PressureCurve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mov.dpMachine",fileNamePrefix="Buildings_12_Buildings.Fluid.Movers.Validation.PressureCurve") translateModel(Buildings.Fluid.Movers.Validation.PressureCurve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mov.dpMachine",fileNamePrefix="Buildings_12_Buildings.Fluid.Movers.Validation.PressureCurve") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002121/0.002121, allocations: 65.19 kB / 1.154 GB, free: 25.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.392/0.3941, allocations: 176.1 MB / 1.326 GB, free: 1.883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PressureCurve): time 0.243/0.6371, allocations: 171.3 MB / 1.493 GB, free: 5.977 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.02414/0.6613, allocations: 13.08 MB / 1.506 GB, free: 8.863 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001944/0.6632, allocations: 55.56 kB / 1.506 GB, free: 8.809 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.005174/0.6684, allocations: 1.603 MB / 1.507 GB, free: 7.199 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.007205/0.6756, allocations: 2.438 MB / 1.51 GB, free: 4.754 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003948/0.6795, allocations: 1.259 MB / 1.511 GB, free: 3.5 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.01517/0.6947, allocations: 8.911 MB / 1.519 GB, free: 10.57 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001819/0.6965, allocations: 0.7661 MB / 1.52 GB, free: 9.793 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004292/0.7008, allocations: 1.612 MB / 1.522 GB, free: 8.176 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002662/0.7035, allocations: 0.9516 MB / 1.523 GB, free: 7.223 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.000469/0.704, allocations: 108 kB / 1.523 GB, free: 7.117 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004869/0.7088, allocations: 1.999 MB / 1.525 GB, free: 5.113 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.001019/0.7098, allocations: 0.6192 MB / 1.525 GB, free: 4.492 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.001523/0.7114, allocations: 0.6413 MB / 1.526 GB, free: 3.848 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.006868/0.7182, allocations: 3.075 MB / 1.529 GB, free: 0.7617 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.7182, allocations: 0 / 1.529 GB, free: 0.7617 MB / 1.217 GB Notification: Performance of FrontEnd: time 2.214e-06/0.7182, allocations: 0 / 1.529 GB, free: 0.7617 MB / 1.217 GB Notification: Performance of Transformations before backend: time 9.101e-05/0.7183, allocations: 0 / 1.529 GB, free: 0.7617 MB / 1.217 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.005768/0.7241, allocations: 2.039 MB / 1.531 GB, free: 14.67 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.7241, allocations: 12.03 kB / 1.531 GB, free: 14.66 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003852/0.728, allocations: 0.5918 MB / 1.532 GB, free: 14.07 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005888/0.7339, allocations: 1.969 MB / 1.534 GB, free: 12.05 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.428e-05/0.734, allocations: 49.31 kB / 1.534 GB, free: 12.01 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000289/0.7343, allocations: 60 kB / 1.534 GB, free: 11.95 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002216/0.7365, allocations: 0.9786 MB / 1.535 GB, free: 10.93 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.171e-05/0.7365, allocations: 0 / 1.535 GB, free: 10.93 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.327e-05/0.7366, allocations: 24 kB / 1.535 GB, free: 10.91 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.64e-05/0.7366, allocations: 25.25 kB / 1.535 GB, free: 10.88 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002051/0.7387, allocations: 0.735 MB / 1.535 GB, free: 10.14 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00713/0.7458, allocations: 3.283 MB / 1.539 GB, free: 6.754 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002007/0.7478, allocations: 0.5648 MB / 1.539 GB, free: 6.18 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007308/0.7485, allocations: 284.6 kB / 1.539 GB, free: 5.898 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002392/0.7488, allocations: 43.97 kB / 1.539 GB, free: 5.855 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.142e-05/0.7488, allocations: 42.5 kB / 1.539 GB, free: 5.805 MB / 1.232 GB Notification: Performance of pre-optimization done (n=29): time 2.184e-06/0.7488, allocations: 0 / 1.539 GB, free: 5.805 MB / 1.232 GB Notification: Performance of matching and sorting (n=29): time 0.003556/0.7524, allocations: 1.069 MB / 1.541 GB, free: 4.727 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.503e-05/0.7524, allocations: 63.28 kB / 1.541 GB, free: 4.652 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002455/0.7549, allocations: 1.558 MB / 1.542 GB, free: 3.086 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0001/0.755, allocations: 33.7 kB / 1.542 GB, free: 3.047 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006392/0.7556, allocations: 0.6581 MB / 1.543 GB, free: 2.383 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001391/0.7558, allocations: 111.1 kB / 1.543 GB, free: 2.273 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003613/0.7561, allocations: 226.5 kB / 1.543 GB, free: 2.047 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001682/0.7563, allocations: 345.9 kB / 1.543 GB, free: 1.703 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001265/0.7576, allocations: 0.727 MB / 1.544 GB, free: 0.9727 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001618/0.7592, allocations: 1.123 MB / 1.545 GB, free: 15.72 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002638/0.7618, allocations: 1.565 MB / 1.547 GB, free: 14.09 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.221e-06/0.7618, allocations: 0 / 1.547 GB, free: 14.09 MB / 1.248 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.003721/0.7655, allocations: 1.959 MB / 1.549 GB, free: 12.11 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.655e-05/0.7656, allocations: 9.562 kB / 1.549 GB, free: 12.11 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/0.7656, allocations: 4.078 kB / 1.549 GB, free: 12.1 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005827/0.7662, allocations: 200.7 kB / 1.549 GB, free: 11.9 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000785/0.767, allocations: 184.1 kB / 1.549 GB, free: 11.72 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007154/0.7677, allocations: 0.7046 MB / 1.55 GB, free: 10.99 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001119/0.7688, allocations: 115.4 kB / 1.55 GB, free: 10.88 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001106/0.7689, allocations: 59.91 kB / 1.55 GB, free: 10.82 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001745/0.7706, allocations: 0.9821 MB / 1.551 GB, free: 9.836 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001426/0.7721, allocations: 1.022 MB / 1.552 GB, free: 8.684 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002318/0.7744, allocations: 1.346 MB / 1.553 GB, free: 7.262 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.284e-06/0.7744, allocations: 4 kB / 1.553 GB, free: 7.258 MB / 1.248 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.003624/0.778, allocations: 1.772 MB / 1.555 GB, free: 5.477 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.778, allocations: 4 kB / 1.555 GB, free: 5.473 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/0.778, allocations: 8 kB / 1.555 GB, free: 5.465 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007096/0.7788, allocations: 241.1 kB / 1.555 GB, free: 5.227 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007399/0.7795, allocations: 171.7 kB / 1.555 GB, free: 5.059 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008407/0.7803, allocations: 0.8646 MB / 1.556 GB, free: 4.168 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001095/0.7814, allocations: 99.64 kB / 1.556 GB, free: 4.07 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001168/0.7816, allocations: 51.97 kB / 1.556 GB, free: 4.02 MB / 1.248 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (84): * Single equations (assignments): 81 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.000289/0.7818, allocations: 220.9 kB / 1.557 GB, free: 3.797 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002279/0.7821, allocations: 147 kB / 1.557 GB, free: 3.652 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002054/0.7841, allocations: 0.7932 MB / 1.557 GB, free: 2.84 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.7841, allocations: 4 kB / 1.557 GB, free: 2.836 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.7841, allocations: 0 / 1.557 GB, free: 2.836 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.116e-06/0.7841, allocations: 3.984 kB / 1.557 GB, free: 2.832 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003572/0.7877, allocations: 1.647 MB / 1.559 GB, free: 1.117 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.284e-06/0.7877, allocations: 4 kB / 1.559 GB, free: 1.113 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005169/0.7882, allocations: 88.08 kB / 1.559 GB, free: 1.027 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002309/0.7885, allocations: 76.81 kB / 1.559 GB, free: 0.9492 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.248e-05/0.7885, allocations: 15.98 kB / 1.559 GB, free: 0.9336 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000578/0.7891, allocations: 0.6733 MB / 1.56 GB, free: 240 kB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/0.7891, allocations: 4.031 kB / 1.56 GB, free: 236 kB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002835/0.7919, allocations: 1.245 MB / 1.561 GB, free: 14.94 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006266/0.7926, allocations: 202.8 kB / 1.561 GB, free: 14.74 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001493/0.7927, allocations: 8 kB / 1.561 GB, free: 14.73 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000707/0.7934, allocations: 47.95 kB / 1.561 GB, free: 14.69 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.574e-05/0.7935, allocations: 27.89 kB / 1.561 GB, free: 14.66 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.02e-05/0.7936, allocations: 19.98 kB / 1.561 GB, free: 14.64 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001656/0.7952, allocations: 1.047 MB / 1.562 GB, free: 13.6 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7952, allocations: 4 kB / 1.562 GB, free: 13.59 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.002/0.7972, allocations: 0.6784 MB / 1.563 GB, free: 12.91 MB / 1.264 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (mov.motSpe.y) * 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 (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001128/0.7983, allocations: 458.3 kB / 1.564 GB, free: 12.46 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.003989/0.8023, allocations: 1.814 MB / 1.565 GB, free: 10.65 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 6.162e-06/0.8023, allocations: 4.062 kB / 1.565 GB, free: 10.65 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0008434/0.8032, allocations: 303.9 kB / 1.566 GB, free: 10.35 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003318/0.8065, allocations: 0.7669 MB / 1.566 GB, free: 9.605 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007245/0.8137, allocations: 2.712 MB / 1.569 GB, free: 6.836 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009741/0.8147, allocations: 0.7204 MB / 1.57 GB, free: 6.086 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001719/0.8164, allocations: 403.1 kB / 1.57 GB, free: 5.688 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003036/0.8167, allocations: 95.42 kB / 1.57 GB, free: 5.594 MB / 1.264 GB Notification: Performance of SimCode: time 1.613e-06/0.8167, allocations: 4 kB / 1.57 GB, free: 5.59 MB / 1.264 GB Notification: Performance of Templates: time 0.06158/0.8783, allocations: 35.13 MB / 1.604 GB, free: 3.133 MB / 1.295 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Movers.Validation.PressureCurve.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Movers.Validation.PressureCurve.pipe ; mkfifo Buildings_12_Buildings.Fluid.Movers.Validation.PressureCurve.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Movers.Validation.PressureCurve.pipe >> ../files/Buildings_12_Buildings.Fluid.Movers.Validation.PressureCurve.sim & ./Buildings_12_Buildings.Fluid.Movers.Validation.PressureCurve -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Movers.Validation.PressureCurve.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Movers.Validation.PressureCurve_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Movers_Validation_PressureCurve.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Movers.Validation.PressureCurve.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: 11.485619220882654]