Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Movers.Validation.PressureCurve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Fluid.Movers.Validation.PressureCurve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mov.dpMachine",fileNamePrefix="Buildings_latest_Buildings.Fluid.Movers.Validation.PressureCurve") translateModel(Buildings.Fluid.Movers.Validation.PressureCurve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mov.dpMachine",fileNamePrefix="Buildings_latest_Buildings.Fluid.Movers.Validation.PressureCurve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00152/0.00152, allocations: 104 kB / 16.27 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001494/0.001494, allocations: 189.8 kB / 17.2 MB, free: 5.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.368/1.368, allocations: 222.9 MB / 240.9 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.719/2.719, allocations: 482.4 MB / 0.7553 GB, free: 6.965 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001897/0.001897, allocations: 69.19 kB / 0.9245 GB, free: 15.99 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.761/0.7629, allocations: 162.2 MB / 1.083 GB, free: 1.648 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PressureCurve): time 0.2393/1.002, allocations: 193.6 MB / 1.272 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02195/1.024, allocations: 14.12 MB / 1.286 GB, free: 14.52 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002028/1.026, allocations: 47.75 kB / 1.286 GB, free: 14.48 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.01306/1.039, allocations: 6.87 MB / 1.293 GB, free: 7.598 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.006686/1.046, allocations: 2.283 MB / 1.295 GB, free: 5.305 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003459/1.05, allocations: 1.226 MB / 1.296 GB, free: 4.082 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.01184/1.061, allocations: 7.585 MB / 1.303 GB, free: 12.49 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00181/1.063, allocations: 0.9141 MB / 1.304 GB, free: 11.56 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003515/1.067, allocations: 1.475 MB / 1.306 GB, free: 10.08 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002136/1.069, allocations: 0.9117 MB / 1.307 GB, free: 9.172 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0003064/1.069, allocations: 116 kB / 1.307 GB, free: 9.059 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004641/1.074, allocations: 2.347 MB / 1.309 GB, free: 6.707 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0008585/1.075, allocations: 0.6115 MB / 1.31 GB, free: 6.094 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.001174/1.076, allocations: 0.8279 MB / 1.31 GB, free: 5.262 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.00554/1.082, allocations: 3.155 MB / 1.313 GB, free: 2.098 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.411e-06/1.082, allocations: 7.938 kB / 1.313 GB, free: 2.09 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.573e-06/1.082, allocations: 0 / 1.313 GB, free: 2.09 MB / 1.029 GB Notification: Performance of Transformations before backend: time 3.104e-05/1.082, allocations: 0 / 1.313 GB, free: 2.09 MB / 1.029 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.00383/1.086, allocations: 2.058 MB / 1.315 GB, free: 15.97 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/1.086, allocations: 12.03 kB / 1.315 GB, free: 15.96 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003675/1.089, allocations: 0.5871 MB / 1.316 GB, free: 15.37 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004512/1.094, allocations: 1.993 MB / 1.318 GB, free: 13.32 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.815e-05/1.094, allocations: 57.31 kB / 1.318 GB, free: 13.27 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001492/1.094, allocations: 64 kB / 1.318 GB, free: 13.2 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001932/1.096, allocations: 0.9418 MB / 1.319 GB, free: 12.23 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/1.096, allocations: 0 / 1.319 GB, free: 12.23 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.449e-05/1.096, allocations: 31.94 kB / 1.319 GB, free: 12.2 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.59e-05/1.096, allocations: 29.25 kB / 1.319 GB, free: 12.17 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00182/1.098, allocations: 0.7272 MB / 1.32 GB, free: 11.44 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006699/1.105, allocations: 4.427 MB / 1.324 GB, free: 6.711 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002158/1.107, allocations: 0.6078 MB / 1.325 GB, free: 6.094 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007434/1.108, allocations: 292.6 kB / 1.325 GB, free: 5.805 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003508/1.108, allocations: 198.2 kB / 1.325 GB, free: 5.574 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.108e-05/1.108, allocations: 35.06 kB / 1.325 GB, free: 5.531 MB / 1.045 GB Notification: Performance of pre-optimization done (n=29): time 2.244e-06/1.108, allocations: 0 / 1.325 GB, free: 5.531 MB / 1.045 GB Notification: Performance of matching and sorting (n=29): time 0.003582/1.112, allocations: 1.153 MB / 1.326 GB, free: 4.348 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.732e-05/1.112, allocations: 55.41 kB / 1.326 GB, free: 4.281 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002412/1.114, allocations: 1.639 MB / 1.328 GB, free: 2.637 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 9.984e-05/1.114, allocations: 29.7 kB / 1.328 GB, free: 2.602 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006348/1.115, allocations: 0.6538 MB / 1.329 GB, free: 1.941 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001377/1.115, allocations: 106.5 kB / 1.329 GB, free: 1.836 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003667/1.115, allocations: 238.4 kB / 1.329 GB, free: 1.594 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001798/1.116, allocations: 341.9 kB / 1.329 GB, free: 1.254 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001262/1.117, allocations: 0.7231 MB / 1.33 GB, free: 0.5273 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001485/1.118, allocations: 0.9568 MB / 1.331 GB, free: 15.48 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002537/1.121, allocations: 1.56 MB / 1.332 GB, free: 13.84 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/1.121, allocations: 3.938 kB / 1.333 GB, free: 13.84 MB / 1.061 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.003516/1.125, allocations: 1.95 MB / 1.334 GB, free: 11.88 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.875e-05/1.125, allocations: 8 kB / 1.334 GB, free: 11.87 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.395e-05/1.125, allocations: 4 kB / 1.334 GB, free: 11.87 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005388/1.125, allocations: 208.7 kB / 1.335 GB, free: 11.66 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007612/1.126, allocations: 180 kB / 1.335 GB, free: 11.48 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007445/1.127, allocations: 0.7006 MB / 1.335 GB, free: 10.76 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001246/1.128, allocations: 123.5 kB / 1.336 GB, free: 10.64 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001107/1.128, allocations: 55.97 kB / 1.336 GB, free: 10.58 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001799/1.13, allocations: 0.9868 MB / 1.337 GB, free: 9.594 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0014/1.131, allocations: 0.8563 MB / 1.337 GB, free: 8.645 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002335/1.134, allocations: 1.357 MB / 1.339 GB, free: 7.215 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.757e-06/1.134, allocations: 0 / 1.339 GB, free: 7.215 MB / 1.061 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.003616/1.137, allocations: 1.763 MB / 1.34 GB, free: 5.441 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/1.137, allocations: 8.188 kB / 1.341 GB, free: 5.434 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/1.137, allocations: 8 kB / 1.341 GB, free: 5.426 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007752/1.138, allocations: 257 kB / 1.341 GB, free: 5.172 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00075/1.139, allocations: 175.8 kB / 1.341 GB, free: 5 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00084/1.14, allocations: 0.8606 MB / 1.342 GB, free: 4.113 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001174/1.141, allocations: 107.8 kB / 1.342 GB, free: 4.008 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.564e-05/1.141, allocations: 47.98 kB / 1.342 GB, free: 3.961 MB / 1.061 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.0002871/1.141, allocations: 224 kB / 1.342 GB, free: 3.734 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002188/1.142, allocations: 142.2 kB / 1.342 GB, free: 3.594 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002161/1.144, allocations: 0.7978 MB / 1.343 GB, free: 2.777 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/1.144, allocations: 4 kB / 1.343 GB, free: 2.773 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/1.144, allocations: 0 / 1.343 GB, free: 2.773 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/1.144, allocations: 4 kB / 1.343 GB, free: 2.77 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00362/1.147, allocations: 1.869 MB / 1.345 GB, free: 0.8164 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/1.147, allocations: 0 / 1.345 GB, free: 0.8164 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000512/1.148, allocations: 80.14 kB / 1.345 GB, free: 0.7383 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002395/1.148, allocations: 88.73 kB / 1.345 GB, free: 0.6484 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.709e-05/1.148, allocations: 12 kB / 1.345 GB, free: 0.6367 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000607/1.149, allocations: 0.6811 MB / 1.346 GB, free: 15.93 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/1.149, allocations: 4 kB / 1.346 GB, free: 15.93 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002746/1.152, allocations: 1.244 MB / 1.347 GB, free: 14.64 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005544/1.152, allocations: 271.3 kB / 1.347 GB, free: 14.36 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002485/1.152, allocations: 15.98 kB / 1.347 GB, free: 14.34 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007484/1.153, allocations: 43.95 kB / 1.347 GB, free: 14.3 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.477e-05/1.153, allocations: 24.03 kB / 1.347 GB, free: 14.27 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.333e-05/1.153, allocations: 23.98 kB / 1.347 GB, free: 14.25 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001885/1.155, allocations: 1.115 MB / 1.348 GB, free: 13.14 MB / 1.076 GB Notification: Performance of sort global known variables: time 2.21e-07/1.155, allocations: 0 / 1.348 GB, free: 13.14 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.00195/1.157, allocations: 0.6708 MB / 1.349 GB, free: 12.47 MB / 1.076 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.001182/1.158, allocations: 477.2 kB / 1.349 GB, free: 12 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.004172/1.163, allocations: 1.962 MB / 1.351 GB, free: 10.04 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 8.927e-06/1.163, allocations: 4.125 kB / 1.351 GB, free: 10.04 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0008759/1.163, allocations: 308 kB / 1.352 GB, free: 9.738 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003479/1.167, allocations: 0.8244 MB / 1.353 GB, free: 8.938 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006837/1.174, allocations: 2.798 MB / 1.355 GB, free: 6.082 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001084/1.175, allocations: 1.298 MB / 1.357 GB, free: 4.75 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004077/1.175, allocations: 107.4 kB / 1.357 GB, free: 4.648 MB / 1.076 GB Notification: Performance of SimCode: time 7.02e-07/1.175, allocations: 4 kB / 1.357 GB, free: 4.645 MB / 1.076 GB Notification: Performance of Templates: time 0.04709/1.222, allocations: 32.33 MB / 1.388 GB, free: 4.523 MB / 1.107 GB make -j1 -f Buildings_latest_Buildings.Fluid.Movers.Validation.PressureCurve.makefile (rm -f Buildings_latest_Buildings.Fluid.Movers.Validation.PressureCurve.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.Validation.PressureCurve.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.Validation.PressureCurve.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.Validation.PressureCurve.sim & ./Buildings_latest_Buildings.Fluid.Movers.Validation.PressureCurve -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Movers.Validation.PressureCurve.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Movers.Validation.PressureCurve_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Movers_Validation_PressureCurve.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Movers.Validation.PressureCurve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches