Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.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.PumpCurveDerivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ddp_dNrpm.y|ddp_dm_flow.y|dm_flow_dNrpm.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives") translateModel(Buildings.Fluid.Movers.Validation.PumpCurveDerivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ddp_dNrpm.y|ddp_dm_flow.y|dm_flow_dNrpm.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001505/0.001506, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 193.5 kB / 16.53 MB, free: 6.391 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.47/1.47, allocations: 222.9 MB / 240.2 MB, free: 4.43 MB / 190.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.454/2.454, allocations: 390.2 MB / 0.6647 GB, free: 436 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 63.89 kB / 0.8125 GB, free: 14.49 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6661/0.6674, allocations: 140.4 MB / 0.9496 GB, free: 9.344 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PumpCurveDerivatives): time 0.08011/0.7476, allocations: 78.07 MB / 1.026 GB, free: 3.73 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.03814/0.7858, allocations: 25.93 MB / 1.051 GB, free: 9.727 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005388/0.7912, allocations: 115.4 kB / 1.051 GB, free: 9.613 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.005145/0.7964, allocations: 1.654 MB / 1.053 GB, free: 7.949 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.01018/0.8066, allocations: 3.481 MB / 1.056 GB, free: 4.453 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.007414/0.814, allocations: 2.942 MB / 1.059 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.01075/0.8248, allocations: 6.991 MB / 1.066 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004888/0.8297, allocations: 2.636 MB / 1.069 GB, free: 7.824 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007926/0.8377, allocations: 2.951 MB / 1.071 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004266/0.842, allocations: 2.237 MB / 1.074 GB, free: 2.625 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.001036/0.843, allocations: 316 kB / 1.074 GB, free: 2.316 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00538/0.8484, allocations: 2.145 MB / 1.076 GB, free: 172 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.001565/0.85, allocations: 1.285 MB / 1.077 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.003043/0.8531, allocations: 1.994 MB / 1.079 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.008137/0.8612, allocations: 6.021 MB / 1.085 GB, free: 6.836 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.8612, allocations: 0 / 1.085 GB, free: 6.836 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.663e-06/0.8612, allocations: 0 / 1.085 GB, free: 6.836 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0001078/0.8614, allocations: 0 / 1.085 GB, free: 6.836 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 397 * Number of variables: 397 Notification: Performance of Generate backend data structure: time 0.009711/0.8711, allocations: 4.486 MB / 1.089 GB, free: 2.277 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.8711, allocations: 12.02 kB / 1.089 GB, free: 2.266 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00686/0.878, allocations: 1.186 MB / 1.091 GB, free: 1.074 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008135/0.8862, allocations: 3.776 MB / 1.094 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001079/0.8873, allocations: 303.6 kB / 1.095 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007246/0.888, allocations: 184 kB / 1.095 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005454/0.8935, allocations: 2.496 MB / 1.097 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.045e-05/0.8935, allocations: 3.938 kB / 1.097 GB, free: 10.17 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001773/0.8937, allocations: 64 kB / 1.097 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.848e-05/0.8938, allocations: 44 kB / 1.097 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005899/0.8997, allocations: 2.061 MB / 1.099 GB, free: 8 MB / 0.8575 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.01734/0.917, allocations: 10.96 MB / 1.11 GB, free: 12.44 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005517/0.9226, allocations: 1.772 MB / 1.112 GB, free: 10.66 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002474/0.9251, allocations: 0.8464 MB / 1.113 GB, free: 9.812 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006458/0.9316, allocations: 3.731 MB / 1.116 GB, free: 5.812 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.978e-05/0.9316, allocations: 39.22 kB / 1.116 GB, free: 5.766 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=76): time 2.455e-06/0.9317, allocations: 0 / 1.116 GB, free: 5.766 MB / 0.8731 GB Notification: Performance of matching and sorting (n=76): time 0.009252/0.9409, allocations: 2.854 MB / 1.119 GB, free: 2.879 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.162e-05/0.941, allocations: 60.06 kB / 1.119 GB, free: 2.809 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005167/0.9462, allocations: 3.737 MB / 1.123 GB, free: 15.05 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0003083/0.9465, allocations: 57.64 kB / 1.123 GB, free: 14.98 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0013/0.9478, allocations: 1.58 MB / 1.124 GB, free: 13.39 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003614/0.9482, allocations: 268.1 kB / 1.125 GB, free: 13.12 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005795/0.9487, allocations: 395.2 kB / 1.125 GB, free: 12.73 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 9.367e-05/0.9489, allocations: 301.1 kB / 1.125 GB, free: 12.44 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003023/0.9519, allocations: 1.356 MB / 1.127 GB, free: 11.08 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00359/0.9555, allocations: 2.071 MB / 1.129 GB, free: 8.676 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006642/0.9621, allocations: 3.331 MB / 1.132 GB, free: 5.051 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.691e-05/0.9622, allocations: 8 kB / 1.132 GB, free: 5.043 MB / 0.8887 GB Notification: Performance of matching and sorting (n=202) (initialization): time 0.008375/0.9706, allocations: 3.806 MB / 1.136 GB, free: 1.227 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.577e-05/0.9706, allocations: 16 kB / 1.136 GB, free: 1.211 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.632e-05/0.9707, allocations: 20 kB / 1.136 GB, free: 1.191 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007342/0.9714, allocations: 313.1 kB / 1.136 GB, free: 0.8828 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002034/0.9735, allocations: 471.3 kB / 1.136 GB, free: 432 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008371/0.9743, allocations: 0.8215 MB / 1.137 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003382/0.9777, allocations: 326.4 kB / 1.138 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003208/0.978, allocations: 140 kB / 1.138 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003753/0.9818, allocations: 1.819 MB / 1.139 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003013/0.9848, allocations: 1.845 MB / 1.141 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005372/0.9902, allocations: 2.866 MB / 1.144 GB, free: 7.957 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.15e-05/0.9903, allocations: 8 kB / 1.144 GB, free: 7.949 MB / 0.9044 GB Notification: Performance of matching and sorting (n=202) (initialization_lambda0): time 0.00753/0.9978, allocations: 3.361 MB / 1.147 GB, free: 4.574 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/0.9978, allocations: 16.12 kB / 1.147 GB, free: 4.559 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.883e-05/0.9979, allocations: 24 kB / 1.147 GB, free: 4.535 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001071/0.999, allocations: 396.6 kB / 1.148 GB, free: 4.145 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001797/1.001, allocations: 451.3 kB / 1.148 GB, free: 3.703 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006905/1.008, allocations: 5.004 MB / 1.153 GB, free: 14.48 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002742/1.01, allocations: 255.4 kB / 1.153 GB, free: 14.23 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002695/1.011, allocations: 116 kB / 1.153 GB, free: 14.12 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 95 * 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 (177): * Single equations (assignments): 173 * Array equations: 3 * 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 prepare postOptimizeDAE: time 0.0005495/1.011, allocations: 295.5 kB / 1.154 GB, free: 13.82 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008942/1.012, allocations: 323.7 kB / 1.154 GB, free: 13.5 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006643/1.019, allocations: 2.459 MB / 1.156 GB, free: 11.02 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.975e-05/1.019, allocations: 19.98 kB / 1.156 GB, free: 11 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.776e-06/1.019, allocations: 0 / 1.156 GB, free: 11 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.297e-05/1.019, allocations: 7.984 kB / 1.156 GB, free: 10.99 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0106/1.03, allocations: 4.637 MB / 1.161 GB, free: 6.281 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/1.03, allocations: 0 / 1.161 GB, free: 6.281 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001591/1.031, allocations: 299.7 kB / 1.161 GB, free: 5.988 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003478/1.031, allocations: 132.7 kB / 1.161 GB, free: 5.855 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001046/1.032, allocations: 43.95 kB / 1.161 GB, free: 5.812 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005874/1.032, allocations: 0.7357 MB / 1.162 GB, free: 5.051 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/1.032, allocations: 0 / 1.162 GB, free: 5.051 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009327/1.042, allocations: 3.402 MB / 1.165 GB, free: 1.609 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001943/1.044, allocations: 0.5824 MB / 1.166 GB, free: 1.004 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009056/1.044, allocations: 16 kB / 1.166 GB, free: 0.9883 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002493/1.047, allocations: 163.8 kB / 1.166 GB, free: 0.8281 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001795/1.047, allocations: 68.84 kB / 1.166 GB, free: 0.7617 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001473/1.047, allocations: 51.95 kB / 1.166 GB, free: 0.7109 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.005052/1.052, allocations: 2.57 MB / 1.169 GB, free: 14.13 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.793e-06/1.052, allocations: 0 / 1.169 GB, free: 14.13 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.006453/1.059, allocations: 1.52 MB / 1.17 GB, free: 12.61 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (ddp_dm_flow.x,ddp_dNrpm.x,dm_flow_dNrpm.x) * 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 (90): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002201/1.061, allocations: 0.6735 MB / 1.171 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.01097/1.072, allocations: 4.278 MB / 1.175 GB, free: 7.652 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/1.072, allocations: 4 kB / 1.175 GB, free: 7.648 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.002723/1.075, allocations: 0.9389 MB / 1.176 GB, free: 6.711 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006802/1.082, allocations: 1.735 MB / 1.178 GB, free: 5 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01022/1.092, allocations: 5.864 MB / 1.183 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001717/1.094, allocations: 2.114 MB / 1.186 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.003815/1.097, allocations: 0.8086 MB / 1.186 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006314/1.098, allocations: 255.2 kB / 1.187 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of SimCode: time 5.41e-07/1.098, allocations: 4 kB / 1.187 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of Templates: time 0.6251/1.723, allocations: 75.39 MB / 1.26 GB, free: 244.1 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.makefile (rm -f Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.sim & ./Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Movers_Validation_PumpCurveDerivatives.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches