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.042/2.042, allocations: 387.4 MB / 394.9 MB, free: 13.41 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.001202/0.001202, allocations: 184.9 kB / 487.4 MB, free: 5.051 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.319/1.319, allocations: 221.5 MB / 0.7824 GB, free: 0.9648 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000905/0.0009051, allocations: 99.73 kB / 0.9219 GB, free: 2.188 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.96e-05/1.96e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2633/0.2634, allocations: 142.4 MB / 1.206 GB, free: 43.94 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.042/1.305, allocations: 403 MB / 1.599 GB, free: 2.438 MB / 1.01 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000255/1.306, allocations: 86.45 kB / 1.6 GB, free: 2.398 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 3.101/4.407, allocations: 0.9388 GB / 2.538 GB, free: 87.56 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.543e-06/4.407, allocations: 0 / 2.538 GB, free: 87.56 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0006266/4.407, allocations: 79.59 kB / 2.538 GB, free: 87.48 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.008594/4.416, allocations: 3.178 MB / 2.542 GB, free: 84.28 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/4.416, allocations: 11.97 kB / 2.542 GB, free: 84.27 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006771/4.423, allocations: 1.158 MB / 2.543 GB, free: 83.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04019/4.463, allocations: 20 MB / 2.562 GB, free: 63.18 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000169/4.463, allocations: 56 kB / 2.562 GB, free: 63.13 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007474/4.464, allocations: 109 kB / 2.562 GB, free: 63.02 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003378/4.467, allocations: 1.642 MB / 2.564 GB, free: 61.38 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00369/4.471, allocations: 1.864 MB / 2.566 GB, free: 59.41 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.266e-05/4.471, allocations: 11.94 kB / 2.566 GB, free: 59.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002565/4.471, allocations: 0 / 2.566 GB, free: 59.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.411e-05/4.471, allocations: 40 kB / 2.566 GB, free: 59.36 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.01472/4.486, allocations: 10.16 MB / 2.576 GB, free: 48.75 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002298/4.488, allocations: 1.717 MB / 2.577 GB, free: 47.02 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006864/4.489, allocations: 0.7273 MB / 2.578 GB, free: 46.29 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00517/4.494, allocations: 4.053 MB / 2.582 GB, free: 41.97 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.285e-05/4.494, allocations: 43.34 kB / 2.582 GB, free: 41.92 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00115/4.495, allocations: 166.7 kB / 2.582 GB, free: 41.75 MB / 1.151 GB Notification: Performance of pre-optimization done (n=84): time 3.747e-06/4.495, allocations: 3.984 kB / 2.582 GB, free: 41.75 MB / 1.151 GB Notification: Performance of matching and sorting (n=84): time 0.004891/4.5, allocations: 2.197 MB / 2.584 GB, free: 39.54 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.339e-05/4.5, allocations: 64.19 kB / 2.585 GB, free: 39.46 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004638/4.505, allocations: 3.445 MB / 2.588 GB, free: 36.04 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0003451/4.505, allocations: 29.7 kB / 2.588 GB, free: 36 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009203/4.506, allocations: 1.604 MB / 2.59 GB, free: 34.38 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002585/4.507, allocations: 287.7 kB / 2.59 GB, free: 34.09 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.861e-05/4.507, allocations: 0 / 2.59 GB, free: 34.09 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.082e-05/4.507, allocations: 365.9 kB / 2.59 GB, free: 33.73 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008376/4.508, allocations: 0.7653 MB / 2.591 GB, free: 32.96 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00103/4.509, allocations: 1.535 MB / 2.592 GB, free: 31.07 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002285/4.511, allocations: 1.081 MB / 2.593 GB, free: 29.98 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-05/4.511, allocations: 11.95 kB / 2.593 GB, free: 29.97 MB / 1.151 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.005314/4.516, allocations: 2.816 MB / 2.596 GB, free: 27.14 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.001399/4.518, allocations: 9.364 MB / 2.605 GB, free: 17.08 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.454e-05/4.518, allocations: 20 kB / 2.605 GB, free: 17.06 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008878/4.519, allocations: 442.3 kB / 2.606 GB, free: 16.62 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001465/4.52, allocations: 395.3 kB / 2.606 GB, free: 16.23 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001693/4.522, allocations: 2.379 MB / 2.608 GB, free: 13.78 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002876/4.525, allocations: 167.8 kB / 2.609 GB, free: 13.61 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002228/4.525, allocations: 156 kB / 2.609 GB, free: 13.46 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/4.525, allocations: 3.984 kB / 2.609 GB, free: 13.46 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004507/4.529, allocations: 2.174 MB / 2.611 GB, free: 11.27 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.197e-05/4.53, allocations: 28.09 kB / 2.611 GB, free: 11.25 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001096/4.531, allocations: 486.2 kB / 2.611 GB, free: 10.76 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001239/4.532, allocations: 371.4 kB / 2.612 GB, free: 10.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00587/4.538, allocations: 5.118 MB / 2.617 GB, free: 5.027 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002891/4.541, allocations: 163.8 kB / 2.617 GB, free: 4.867 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003285/4.541, allocations: 136 kB / 2.617 GB, free: 4.734 MB / 1.151 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pump2.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pump1.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real forcedPump1.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real 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.0006751/4.542, allocations: 167.6 kB / 2.617 GB, free: 4.566 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000921/4.543, allocations: 315.9 kB / 2.617 GB, free: 4.254 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005752/4.548, allocations: 2.128 MB / 2.62 GB, free: 2.109 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-05/4.548, allocations: 16 kB / 2.62 GB, free: 2.094 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/4.548, allocations: 0 / 2.62 GB, free: 2.094 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.311e-05/4.548, allocations: 7.969 kB / 2.62 GB, free: 2.086 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 postOpt removeSimpleEquations (simulation): time 0.01023/4.559, allocations: 4.52 MB / 2.624 GB, free: 13.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/4.559, allocations: 4.125 kB / 2.624 GB, free: 13.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001078/4.56, allocations: 211.7 kB / 2.624 GB, free: 13.29 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005977/4.56, allocations: 266.4 kB / 2.624 GB, free: 13.02 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001004/4.561, allocations: 27.95 kB / 2.625 GB, free: 13 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001644/4.562, allocations: 2.028 MB / 2.626 GB, free: 10.89 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/4.562, allocations: 4.031 kB / 2.626 GB, free: 10.89 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005602/4.568, allocations: 2.708 MB / 2.629 GB, free: 8.125 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002356/4.57, allocations: 0.7036 MB / 2.63 GB, free: 7.398 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001277/4.572, allocations: 7.938 kB / 2.63 GB, free: 7.391 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002701/4.574, allocations: 163.7 kB / 2.63 GB, free: 7.23 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001484/4.574, allocations: 69.16 kB / 2.63 GB, free: 7.164 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001389/4.575, allocations: 67.25 kB / 2.63 GB, free: 7.102 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.004505/4.579, allocations: 2.584 MB / 2.633 GB, free: 4.539 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.5e-07/4.579, allocations: 0 / 2.633 GB, free: 4.539 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0059/4.585, allocations: 1.633 MB / 2.634 GB, free: 2.902 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.002912/4.588, allocations: 1.686 MB / 2.636 GB, free: 1.18 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.6819/5.27, allocations: 2.998 MB / 2.639 GB, free: 174 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.461e-05/5.27, allocations: 3.906 kB / 2.639 GB, free: 174 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001639/5.272, allocations: 0.6365 MB / 2.639 GB, free: 174 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009608/5.281, allocations: 1.525 MB / 2.641 GB, free: 174 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009418/5.291, allocations: 4.211 MB / 2.645 GB, free: 172.9 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001981/5.293, allocations: 2.182 MB / 2.647 GB, free: 172.2 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.007227/5.3, allocations: 1.6 MB / 2.649 GB, free: 172.2 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006091/5.301, allocations: 188.5 kB / 2.649 GB, free: 172.2 MB / 1.167 GB Notification: Performance of SimCode: time 1.292e-06/5.301, allocations: 0 / 2.649 GB, free: 172.2 MB / 1.167 GB Notification: Performance of Templates: time 0.1208/5.421, allocations: 77.02 MB / 2.724 GB, free: 169.6 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