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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.242/2.242, allocations: 387.1 MB / 399.7 MB, free: 9.477 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001243/0.001244, allocations: 168.9 kB / 492.3 MB, free: 0.6094 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.907/1.907, allocations: 221.3 MB / 0.7871 GB, free: 12.93 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008908/0.0008909, allocations: 87.95 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.341e-05/3.345e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2936/0.2936, allocations: 142.3 MB / 1.212 GB, free: 38.5 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.317/1.611, allocations: 403.6 MB / 1.607 GB, free: 9.746 MB / 1.026 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002463/1.611, allocations: 91.89 kB / 1.607 GB, free: 9.703 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 3.748/5.359, allocations: 0.9453 GB / 2.552 GB, free: 66.27 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.557e-06/5.359, allocations: 0 / 2.552 GB, free: 66.27 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.000529/5.359, allocations: 83.92 kB / 2.552 GB, free: 66.19 MB / 1.151 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.009748/5.369, allocations: 3.18 MB / 2.555 GB, free: 62.95 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.483e-05/5.369, allocations: 12.03 kB / 2.555 GB, free: 62.94 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007418/5.376, allocations: 1.158 MB / 2.556 GB, free: 61.78 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04379/5.42, allocations: 20.05 MB / 2.576 GB, free: 41.52 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002141/5.421, allocations: 143.1 kB / 2.576 GB, free: 41.38 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006587/5.421, allocations: 185 kB / 2.576 GB, free: 41.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003651/5.425, allocations: 2.086 MB / 2.578 GB, free: 39.01 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.94e-05/5.425, allocations: 4 kB / 2.578 GB, free: 39 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001722/5.425, allocations: 71.95 kB / 2.578 GB, free: 38.93 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.736e-05/5.425, allocations: 36 kB / 2.578 GB, free: 38.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002304/5.427, allocations: 1.441 MB / 2.58 GB, free: 37.45 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.01845/5.446, allocations: 10.48 MB / 2.59 GB, free: 26.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002168/5.448, allocations: 1.219 MB / 2.591 GB, free: 25.27 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006731/5.449, allocations: 0.5342 MB / 2.592 GB, free: 24.73 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006407/5.455, allocations: 4.136 MB / 2.596 GB, free: 20.32 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.049e-05/5.455, allocations: 43.34 kB / 2.596 GB, free: 20.27 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00154/5.457, allocations: 198.6 kB / 2.596 GB, free: 20.08 MB / 1.151 GB Notification: Performance of pre-optimization done (n=84): time 3.346e-06/5.457, allocations: 0 / 2.596 GB, free: 20.08 MB / 1.151 GB Notification: Performance of matching and sorting (n=84): time 0.003512/5.46, allocations: 1.611 MB / 2.598 GB, free: 18.45 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.519e-05/5.46, allocations: 64.19 kB / 2.598 GB, free: 18.37 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005527/5.466, allocations: 3.729 MB / 2.601 GB, free: 14.62 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0003621/5.466, allocations: 53.64 kB / 2.601 GB, free: 14.56 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.001067/5.467, allocations: 1.62 MB / 2.603 GB, free: 12.92 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002749/5.468, allocations: 295.7 kB / 2.603 GB, free: 12.62 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.094e-05/5.468, allocations: 32 kB / 2.603 GB, free: 12.59 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001083/5.468, allocations: 373.9 kB / 2.604 GB, free: 12.22 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008273/5.469, allocations: 0.5935 MB / 2.604 GB, free: 11.63 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001164/5.47, allocations: 1.369 MB / 2.605 GB, free: 9.898 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009828/5.471, allocations: 0.7444 MB / 2.606 GB, free: 9.156 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.157e-05/5.471, allocations: 8 kB / 2.606 GB, free: 9.148 MB / 1.151 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.004078/5.475, allocations: 2.346 MB / 2.609 GB, free: 6.785 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.002488/5.477, allocations: 9.44 MB / 2.618 GB, free: 12.71 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.586e-05/5.478, allocations: 23.94 kB / 2.618 GB, free: 12.69 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001196/5.479, allocations: 362.3 kB / 2.618 GB, free: 12.32 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001595/5.48, allocations: 399.4 kB / 2.618 GB, free: 11.93 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002097/5.482, allocations: 2.106 MB / 2.621 GB, free: 9.75 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003197/5.486, allocations: 207.8 kB / 2.621 GB, free: 9.547 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003112/5.486, allocations: 152 kB / 2.621 GB, free: 9.398 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/5.486, allocations: 4 kB / 2.621 GB, free: 9.395 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004347/5.49, allocations: 2.215 MB / 2.623 GB, free: 7.172 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.693e-05/5.49, allocations: 20 kB / 2.623 GB, free: 7.152 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001457/5.492, allocations: 0.5028 MB / 2.624 GB, free: 6.641 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001341/5.493, allocations: 387.3 kB / 2.624 GB, free: 6.262 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007586/5.501, allocations: 5.21 MB / 2.629 GB, free: 0.7812 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003469/5.504, allocations: 187.9 kB / 2.629 GB, free: 0.5977 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000369/5.505, allocations: 136 kB / 2.629 GB, free: 476 kB / 1.167 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (167): * Single equations (assignments): 161 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 9,1 4,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.000686/5.505, allocations: 208.6 kB / 2.63 GB, free: 260 kB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.9604/6.466, allocations: 331.7 kB / 2.63 GB, free: 164 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009952/6.476, allocations: 2.14 MB / 2.632 GB, free: 163.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.223e-05/6.476, allocations: 15.59 kB / 2.632 GB, free: 163.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/6.476, allocations: 0 / 2.632 GB, free: 163.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.398e-05/6.476, allocations: 5.953 kB / 2.632 GB, free: 163.9 MB / 1.167 GB Warning: The model contains alias variables with conflicting start and/or 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 postOpt removeSimpleEquations (simulation): time 0.01861/6.495, allocations: 4.7 MB / 2.637 GB, free: 163.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.632e-05/6.495, allocations: 3.562 kB / 2.637 GB, free: 163.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001855/6.496, allocations: 210.3 kB / 2.637 GB, free: 163.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001452/6.498, allocations: 316.8 kB / 2.637 GB, free: 163.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001973/6.498, allocations: 37.56 kB / 2.637 GB, free: 163.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002256/6.5, allocations: 1.981 MB / 2.639 GB, free: 162 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.733e-06/6.5, allocations: 4.609 kB / 2.639 GB, free: 162 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009511/6.51, allocations: 2.771 MB / 2.642 GB, free: 161.6 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003447/6.513, allocations: 0.7167 MB / 2.642 GB, free: 161.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001461/6.515, allocations: 24.39 kB / 2.642 GB, free: 161.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002538/6.518, allocations: 178.2 kB / 2.643 GB, free: 161.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000186/6.518, allocations: 76.16 kB / 2.643 GB, free: 161.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002064/6.518, allocations: 59.56 kB / 2.643 GB, free: 161.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.006805/6.525, allocations: 2.845 MB / 2.646 GB, free: 161.2 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.034e-06/6.525, allocations: 0 / 2.646 GB, free: 161.2 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.009456/6.534, allocations: 1.694 MB / 2.647 GB, free: 161.1 MB / 1.167 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 8,1 4,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.004735/6.539, allocations: 1.753 MB / 2.649 GB, free: 160.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.007605/6.547, allocations: 2.929 MB / 2.652 GB, free: 160.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.094e-06/6.547, allocations: 1.406 kB / 2.652 GB, free: 160.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001525/6.548, allocations: 0.6649 MB / 2.652 GB, free: 160.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01305/6.561, allocations: 1.638 MB / 2.654 GB, free: 160.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01569/6.577, allocations: 4.288 MB / 2.658 GB, free: 159.5 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003235/6.58, allocations: 2.182 MB / 2.66 GB, free: 158.7 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.01283/6.593, allocations: 1.627 MB / 2.662 GB, free: 158.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001223/6.595, allocations: 195.9 kB / 2.662 GB, free: 158.7 MB / 1.167 GB Notification: Performance of SimCode: time 1.542e-06/6.595, allocations: 2.062 kB / 2.662 GB, free: 158.7 MB / 1.167 GB Notification: Performance of Templates: time 0.1679/6.762, allocations: 92.48 MB / 2.752 GB, free: 155.3 MB / 1.167 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","../files/Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches