Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.001722/0.001722, allocations: 106.9 kB / 16.27 MB, free: 6.414 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.001883/0.001883, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.333/1.333, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.231/2.231, allocations: 390.3 MB / 0.6653 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 73.5 kB / 0.8132 GB, free: 33.12 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.279/0.2804, allocations: 140.4 MB / 0.9503 GB, free: 8.844 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PumpCurveConstruction): time 0.1007/0.3811, allocations: 102.7 MB / 1.051 GB, free: 1.84 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0467/0.4279, allocations: 32.44 MB / 1.082 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007224/0.4352, allocations: 155.1 kB / 1.082 GB, free: 1.152 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.6263/1.061, allocations: 1.967 MB / 1.084 GB, free: 8.441 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.01495/1.077, allocations: 4.927 MB / 1.089 GB, free: 8.41 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.01077/1.087, allocations: 3.808 MB / 1.093 GB, free: 8.34 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0183/1.106, allocations: 9.367 MB / 1.102 GB, free: 8.328 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008027/1.114, allocations: 3.514 MB / 1.105 GB, free: 23.94 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01242/1.126, allocations: 3.921 MB / 1.109 GB, free: 23.78 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008092/1.134, allocations: 2.97 MB / 1.112 GB, free: 23.27 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.002257/1.137, allocations: 394.9 kB / 1.112 GB, free: 23.27 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01014/1.147, allocations: 2.559 MB / 1.115 GB, free: 23.23 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.003334/1.15, allocations: 1.244 MB / 1.116 GB, free: 23.07 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.006052/1.156, allocations: 2.264 MB / 1.118 GB, free: 22.41 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.01504/1.171, allocations: 6.823 MB / 1.125 GB, free: 21.49 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 9.087e-06/1.171, allocations: 1.188 kB / 1.125 GB, free: 21.49 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.986e-06/1.171, allocations: 0 / 1.125 GB, free: 21.49 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0003336/1.172, allocations: 0 / 1.125 GB, free: 21.49 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.01355/1.185, allocations: 4.798 MB / 1.13 GB, free: 19.29 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/1.185, allocations: 10 kB / 1.13 GB, free: 19.29 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00955/1.195, allocations: 1.495 MB / 1.131 GB, free: 18.99 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01161/1.207, allocations: 3.963 MB / 1.135 GB, free: 18.14 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002934/1.207, allocations: 182.5 kB / 1.135 GB, free: 18.14 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000971/1.208, allocations: 230.6 kB / 1.135 GB, free: 18.14 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006285/1.214, allocations: 2.705 MB / 1.138 GB, free: 17.78 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.064e-05/1.214, allocations: 8.969 kB / 1.138 GB, free: 17.78 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002494/1.214, allocations: 87.19 kB / 1.138 GB, free: 17.78 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.407e-05/1.214, allocations: 50.97 kB / 1.138 GB, free: 17.78 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005646/1.22, allocations: 2.092 MB / 1.14 GB, free: 17.74 MB / 0.8731 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.02075/1.241, allocations: 12.64 MB / 1.153 GB, free: 10.52 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003978/1.245, allocations: 1.589 MB / 1.154 GB, free: 9.859 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001932/1.247, allocations: 0.7581 MB / 1.155 GB, free: 9.492 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008406/1.255, allocations: 3.734 MB / 1.159 GB, free: 6.215 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.793e-05/1.255, allocations: 45.41 kB / 1.159 GB, free: 6.168 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=104): time 4.048e-06/1.255, allocations: 0 / 1.159 GB, free: 6.168 MB / 0.8731 GB Notification: Performance of matching and sorting (n=104): time 0.01048/1.266, allocations: 3.075 MB / 1.162 GB, free: 4.473 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.128e-05/1.266, allocations: 65.12 kB / 1.162 GB, free: 4.41 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007835/1.274, allocations: 3.261 MB / 1.165 GB, free: 2.688 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0005564/1.274, allocations: 58.14 kB / 1.165 GB, free: 2.633 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.002076/1.277, allocations: 1.727 MB / 1.167 GB, free: 1.125 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007765/1.277, allocations: 353.6 kB / 1.167 GB, free: 0.8242 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001516/1.279, allocations: 442.8 kB / 1.167 GB, free: 0.582 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 9.582e-05/1.279, allocations: 302.3 kB / 1.168 GB, free: 292 kB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00289/1.282, allocations: 1.076 MB / 1.169 GB, free: 15.78 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00332/1.285, allocations: 1.733 MB / 1.17 GB, free: 14.41 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006156/1.291, allocations: 2.683 MB / 1.173 GB, free: 12.74 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.802e-05/1.291, allocations: 2.5 kB / 1.173 GB, free: 12.74 MB / 0.8887 GB Notification: Performance of matching and sorting (n=224) (initialization): time 0.00951/1.301, allocations: 3.417 MB / 1.176 GB, free: 11.16 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.999e-05/1.301, allocations: 13.66 kB / 1.176 GB, free: 11.16 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.815e-05/1.301, allocations: 24.78 kB / 1.176 GB, free: 11.15 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0016/1.303, allocations: 0.5566 MB / 1.177 GB, free: 10.89 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002079/1.305, allocations: 446.5 kB / 1.177 GB, free: 10.79 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002152/1.307, allocations: 2.585 MB / 1.18 GB, free: 8.438 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003676/1.311, allocations: 284 kB / 1.18 GB, free: 8.258 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004666/1.311, allocations: 138.7 kB / 1.18 GB, free: 8.223 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004393/1.316, allocations: 1.536 MB / 1.182 GB, free: 7.387 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002858/1.318, allocations: 1.56 MB / 1.183 GB, free: 6.109 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004929/1.323, allocations: 2.366 MB / 1.186 GB, free: 4.59 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.429e-05/1.323, allocations: 4.875 kB / 1.186 GB, free: 4.59 MB / 0.8887 GB Notification: Performance of matching and sorting (n=224) (initialization_lambda0): time 0.00882/1.332, allocations: 3.12 MB / 1.189 GB, free: 3.184 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.917e-05/1.332, allocations: 16.25 kB / 1.189 GB, free: 3.172 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-05/1.332, allocations: 20 kB / 1.189 GB, free: 3.152 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002387/1.335, allocations: 0.655 MB / 1.189 GB, free: 2.488 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001936/1.337, allocations: 422.8 kB / 1.19 GB, free: 2.098 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01624/1.353, allocations: 11.86 MB / 1.201 GB, free: 5.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003935/1.357, allocations: 212.5 kB / 1.202 GB, free: 5.453 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006733/1.358, allocations: 120 kB / 1.202 GB, free: 5.336 MB / 0.9044 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 (196): * Single equations (assignments): 188 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * 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.001242/1.359, allocations: 292.9 kB / 1.202 GB, free: 5.066 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001589/1.36, allocations: 343.4 kB / 1.202 GB, free: 4.727 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00863/1.369, allocations: 2.638 MB / 1.205 GB, free: 2.098 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.369e-05/1.369, allocations: 19.98 kB / 1.205 GB, free: 2.078 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/1.369, allocations: 0 / 1.205 GB, free: 2.078 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.016e-05/1.369, allocations: 7.922 kB / 1.205 GB, free: 2.07 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01397/1.383, allocations: 4.765 MB / 1.21 GB, free: 13.28 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/1.383, allocations: 0 / 1.21 GB, free: 13.28 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001471/1.385, allocations: 277.8 kB / 1.21 GB, free: 13.02 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009385/1.386, allocations: 327 kB / 1.21 GB, free: 12.68 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001458/1.386, allocations: 47.95 kB / 1.21 GB, free: 12.64 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0018/1.388, allocations: 2.505 MB / 1.213 GB, free: 10.04 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/1.388, allocations: 3.984 kB / 1.213 GB, free: 10.04 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006586/1.394, allocations: 2.406 MB / 1.215 GB, free: 7.605 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00218/1.396, allocations: 0.5822 MB / 1.216 GB, free: 7 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001682/1.398, allocations: 35.98 kB / 1.216 GB, free: 6.965 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002637/1.401, allocations: 111.8 kB / 1.216 GB, free: 6.855 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001929/1.401, allocations: 81.2 kB / 1.216 GB, free: 6.777 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000185/1.401, allocations: 67.94 kB / 1.216 GB, free: 6.711 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.005245/1.407, allocations: 2.187 MB / 1.218 GB, free: 4.516 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.5e-07/1.407, allocations: 0 / 1.218 GB, free: 4.516 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.008965/1.415, allocations: 1.71 MB / 1.22 GB, free: 2.805 MB / 0.92 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 (109): * Single equations (assignments): 96 * 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.002766/1.418, allocations: 0.755 MB / 1.22 GB, free: 2.117 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.01274/1.431, allocations: 4.295 MB / 1.225 GB, free: 13.9 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 6.162e-06/1.431, allocations: 0 / 1.225 GB, free: 13.9 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.00276/1.434, allocations: 0.9296 MB / 1.225 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009439/1.443, allocations: 1.643 MB / 1.227 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01445/1.458, allocations: 5.97 MB / 1.233 GB, free: 5.398 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003195/1.461, allocations: 2.152 MB / 1.235 GB, free: 3.223 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001401/1.462, allocations: 295.1 kB / 1.235 GB, free: 2.938 MB / 0.9356 GB Notification: Performance of SimCode: time 9.02e-07/1.462, allocations: 0 / 1.235 GB, free: 2.938 MB / 0.9356 GB Notification: Performance of Templates: time 0.1598/1.622, allocations: 126.3 MB / 1.359 GB, free: 5.27 MB / 1.061 GB make -j1 -f Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.makefile (rm -f Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.sim & ./Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Movers_Validation_PumpCurveConstruction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches