Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.PumpCurveConstruction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pum.dpMachine|pum_dp.dpMachine|pum_m_flow.dpMachine|pum_no.dpMachine",fileNamePrefix="Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveConstruction") translateModel(Buildings.Fluid.Movers.Validation.PumpCurveConstruction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pum.dpMachine|pum_dp.dpMachine|pum_m_flow.dpMachine|pum_no.dpMachine",fileNamePrefix="Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveConstruction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008667/0.008667, allocations: 103.3 kB / 15.73 MB, free: 6.039 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.001663/0.001663, allocations: 187.8 kB / 16.67 MB, free: 5.957 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.356/1.356, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.749/2.749, allocations: 461.9 MB / 0.7348 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 63.89 kB / 1.054 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8616/0.8628, allocations: 157.4 MB / 1.208 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PumpCurveConstruction): time 0.1041/0.967, allocations: 104.1 MB / 1.309 GB, free: 5.078 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.05346/1.02, allocations: 34.94 MB / 1.344 GB, free: 2.059 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005979/1.026, allocations: 159.1 kB / 1.344 GB, free: 1.902 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.008282/1.035, allocations: 2.868 MB / 1.346 GB, free: 15.02 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.01499/1.05, allocations: 5.466 MB / 1.352 GB, free: 9.527 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.01037/1.06, allocations: 4.052 MB / 1.356 GB, free: 5.496 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.04436/1.105, allocations: 31.54 MB / 1.387 GB, free: 5.914 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006073/1.111, allocations: 3.668 MB / 1.39 GB, free: 2.18 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009478/1.12, allocations: 4.37 MB / 1.394 GB, free: 13.8 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005836/1.126, allocations: 3.363 MB / 1.398 GB, free: 10.43 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.001141/1.127, allocations: 460 kB / 1.398 GB, free: 9.98 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006278/1.133, allocations: 2.933 MB / 1.401 GB, free: 7.043 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.001817/1.135, allocations: 1.877 MB / 1.403 GB, free: 5.16 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.004092/1.139, allocations: 2.985 MB / 1.406 GB, free: 2.16 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.01444/1.154, allocations: 8.777 MB / 1.414 GB, free: 9.355 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/1.154, allocations: 0 / 1.414 GB, free: 9.355 MB / 1.139 GB Notification: Performance of FrontEnd: time 6.191e-06/1.154, allocations: 4 kB / 1.414 GB, free: 9.352 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.0002794/1.154, allocations: 3.938 kB / 1.414 GB, free: 9.348 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 541 * Number of variables: 541 Notification: Performance of Generate backend data structure: time 0.0146/1.169, allocations: 6.269 MB / 1.42 GB, free: 2.961 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/1.169, allocations: 12.03 kB / 1.42 GB, free: 2.949 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01144/1.18, allocations: 1.885 MB / 1.422 GB, free: 1.055 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01801/1.198, allocations: 7.283 MB / 1.429 GB, free: 9.707 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002116/1.199, allocations: 196.2 kB / 1.43 GB, free: 9.512 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006774/1.199, allocations: 240 kB / 1.43 GB, free: 9.277 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006378/1.206, allocations: 3.223 MB / 1.433 GB, free: 5.91 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.403e-05/1.206, allocations: 3.938 kB / 1.433 GB, free: 5.906 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002429/1.206, allocations: 88 kB / 1.433 GB, free: 5.82 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.729e-05/1.206, allocations: 52 kB / 1.433 GB, free: 5.77 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006472/1.212, allocations: 2.6 MB / 1.436 GB, free: 3.152 MB / 1.154 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02337/1.236, allocations: 14.85 MB / 1.45 GB, free: 3.398 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005718/1.242, allocations: 2.278 MB / 1.452 GB, free: 1.109 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00249/1.244, allocations: 0.992 MB / 1.453 GB, free: 116 kB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009595/1.254, allocations: 4.991 MB / 1.458 GB, free: 10.82 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.731e-05/1.254, allocations: 51.59 kB / 1.458 GB, free: 10.77 MB / 1.186 GB Notification: Performance of pre-optimization done (n=112): time 3.026e-06/1.254, allocations: 0 / 1.458 GB, free: 10.77 MB / 1.186 GB Notification: Performance of matching and sorting (n=112): time 0.01158/1.265, allocations: 3.953 MB / 1.462 GB, free: 6.715 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/1.265, allocations: 60.41 kB / 1.462 GB, free: 6.645 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007873/1.273, allocations: 5.478 MB / 1.468 GB, free: 1.156 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0003543/1.274, allocations: 61.7 kB / 1.468 GB, free: 1.09 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.001816/1.276, allocations: 2.223 MB / 1.47 GB, free: 14.85 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004637/1.276, allocations: 418.3 kB / 1.47 GB, free: 14.43 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001201/1.277, allocations: 0.8721 MB / 1.471 GB, free: 13.55 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 8.538e-05/1.277, allocations: 301.1 kB / 1.471 GB, free: 13.26 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004275/1.282, allocations: 2.621 MB / 1.474 GB, free: 10.63 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004919/1.287, allocations: 3.463 MB / 1.477 GB, free: 6.848 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008826/1.295, allocations: 5.579 MB / 1.483 GB, free: 1.008 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-05/1.295, allocations: 8 kB / 1.483 GB, free: 1 MB / 1.201 GB Notification: Performance of matching and sorting (n=488) (initialization): time 0.01268/1.308, allocations: 7.046 MB / 1.49 GB, free: 9.902 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 3.121e-05/1.308, allocations: 13.72 kB / 1.49 GB, free: 9.891 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.033e-05/1.308, allocations: 24.78 kB / 1.49 GB, free: 9.867 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001657/1.31, allocations: 0.7292 MB / 1.49 GB, free: 9.129 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002817/1.313, allocations: 0.6708 MB / 1.491 GB, free: 8.457 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00215/1.315, allocations: 2.721 MB / 1.494 GB, free: 5.633 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003888/1.319, allocations: 444.2 kB / 1.494 GB, free: 5.195 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003982/1.319, allocations: 216.2 kB / 1.494 GB, free: 4.984 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005499/1.325, allocations: 3.243 MB / 1.497 GB, free: 1.734 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004475/1.329, allocations: 3.022 MB / 1.5 GB, free: 14.39 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007997/1.337, allocations: 4.729 MB / 1.505 GB, free: 9.41 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.293e-05/1.337, allocations: 4 kB / 1.505 GB, free: 9.406 MB / 1.232 GB Notification: Performance of matching and sorting (n=488) (initialization_lambda0): time 0.01251/1.35, allocations: 6.229 MB / 1.511 GB, free: 3.137 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/1.35, allocations: 12 kB / 1.511 GB, free: 3.125 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.562e-05/1.35, allocations: 20 kB / 1.511 GB, free: 3.105 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002606/1.352, allocations: 0.8121 MB / 1.512 GB, free: 2.281 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002772/1.355, allocations: 0.628 MB / 1.513 GB, free: 1.652 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01864/1.374, allocations: 13.64 MB / 1.526 GB, free: 3.348 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004643/1.379, allocations: 363.5 kB / 1.526 GB, free: 2.992 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005093/1.379, allocations: 171.9 kB / 1.526 GB, free: 2.824 MB / 1.248 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * 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 (332): * Single equations (assignments): 320 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,4), (1,4), (1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0008397/1.38, allocations: 332.2 kB / 1.527 GB, free: 2.492 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009927/1.381, allocations: 485.5 kB / 1.527 GB, free: 2.012 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008492/1.389, allocations: 3.31 MB / 1.53 GB, free: 14.67 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.392e-05/1.389, allocations: 24 kB / 1.53 GB, free: 14.65 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/1.389, allocations: 0 / 1.53 GB, free: 14.65 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.809e-05/1.39, allocations: 7.969 kB / 1.53 GB, free: 14.64 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01391/1.403, allocations: 6.154 MB / 1.536 GB, free: 8.402 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/1.403, allocations: 0 / 1.536 GB, free: 8.402 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001717/1.405, allocations: 315.5 kB / 1.537 GB, free: 8.094 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001028/1.406, allocations: 383 kB / 1.537 GB, free: 7.707 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001316/1.406, allocations: 51.89 kB / 1.537 GB, free: 7.656 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001935/1.408, allocations: 2.616 MB / 1.54 GB, free: 4.938 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/1.408, allocations: 0 / 1.54 GB, free: 4.938 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007831/1.416, allocations: 3.064 MB / 1.543 GB, free: 1.828 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002447/1.419, allocations: 0.7871 MB / 1.543 GB, free: 1.016 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006728/1.419, allocations: 23.94 kB / 1.543 GB, free: 0.9922 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002179/1.422, allocations: 155.8 kB / 1.544 GB, free: 0.8398 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002126/1.422, allocations: 93.19 kB / 1.544 GB, free: 0.75 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001832/1.422, allocations: 91.94 kB / 1.544 GB, free: 0.6602 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.006533/1.428, allocations: 3.624 MB / 1.547 GB, free: 13.04 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.503e-06/1.428, allocations: 0 / 1.547 GB, free: 13.04 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.007023/1.436, allocations: 2.324 MB / 1.55 GB, free: 10.71 MB / 1.279 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (117): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,5), (1,5), (1,5), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002086/1.438, allocations: 0.912 MB / 1.55 GB, free: 9.793 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01612/1.454, allocations: 7.914 MB / 1.558 GB, free: 1.828 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/1.454, allocations: 4 kB / 1.558 GB, free: 1.824 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.003315/1.457, allocations: 1.164 MB / 1.559 GB, free: 0.6602 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.578/2.035, allocations: 2.426 MB / 1.562 GB, free: 334 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01904/2.054, allocations: 8.325 MB / 1.57 GB, free: 331.1 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00397/2.058, allocations: 2.879 MB / 1.573 GB, free: 330 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.00661/2.065, allocations: 1.324 MB / 1.574 GB, free: 329.8 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001431/2.066, allocations: 381.6 kB / 1.574 GB, free: 329.8 MB / 1.279 GB Notification: Performance of SimCode: time 9.62e-07/2.066, allocations: 0 / 1.574 GB, free: 329.8 MB / 1.279 GB Notification: Performance of Templates: time 0.1404/2.207, allocations: 107.1 MB / 1.679 GB, free: 239.3 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.makefile (rm -f Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.sim & ./Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveConstruction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveConstruction_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Movers_Validation_PumpCurveConstruction.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches