Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.501/1.501, allocations: 249.5 MB / 257 MB, free: 6.766 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001151/0.001151, allocations: 180.9 kB / 316.3 MB, free: 3.219 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.77/1.77, allocations: 205.3 MB / 0.5671 GB, free: 15.88 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001067/0.001067, allocations: 74.55 kB / 0.6714 GB, free: 5.008 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.225e-05/2.226e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2513/0.2513, allocations: 106.3 MB / 0.8852 GB, free: 12.26 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.745/1.996, allocations: 399.1 MB / 1.275 GB, free: 253.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000292/1.996, allocations: 89.55 kB / 1.275 GB, free: 253.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.121/5.117, allocations: 0.9239 GB / 2.199 GB, free: 38.97 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.763e-06/5.117, allocations: 0 / 2.199 GB, free: 38.97 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0003657/5.117, allocations: 83.92 kB / 2.199 GB, free: 38.89 MB / 0.8698 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.008584/5.126, allocations: 3.173 MB / 2.202 GB, free: 35.66 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.318e-05/5.126, allocations: 12.02 kB / 2.202 GB, free: 35.65 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005279/5.131, allocations: 0.889 MB / 2.203 GB, free: 34.75 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03844/5.17, allocations: 19.59 MB / 2.222 GB, free: 14.94 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.657e-05/5.17, allocations: 56 kB / 2.222 GB, free: 14.89 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003573/5.17, allocations: 112 kB / 2.222 GB, free: 14.78 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00245/5.173, allocations: 1.603 MB / 2.224 GB, free: 13.17 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002429/5.175, allocations: 1.846 MB / 2.226 GB, free: 11.23 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.972e-05/5.175, allocations: 0 / 2.226 GB, free: 11.23 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001399/5.175, allocations: 8 kB / 2.226 GB, free: 11.22 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.613e-05/5.175, allocations: 36 kB / 2.226 GB, free: 11.18 MB / 0.8698 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.01392/5.189, allocations: 9.964 MB / 2.235 GB, free: 0.7578 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00254/5.192, allocations: 1.67 MB / 2.237 GB, free: 15.07 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000955/5.193, allocations: 0.7117 MB / 2.238 GB, free: 14.36 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006964/5.2, allocations: 3.975 MB / 2.242 GB, free: 10.12 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.034e-05/5.2, allocations: 43.34 kB / 2.242 GB, free: 10.07 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001465/5.201, allocations: 162.7 kB / 2.242 GB, free: 9.91 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=84): time 3.166e-06/5.201, allocations: 3.938 kB / 2.242 GB, free: 9.906 MB / 0.8855 GB Notification: Performance of matching and sorting (n=84): time 0.005925/5.207, allocations: 2.173 MB / 2.244 GB, free: 7.711 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.868e-05/5.207, allocations: 60.19 kB / 2.244 GB, free: 7.641 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006385/5.214, allocations: 3.436 MB / 2.247 GB, free: 4.227 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0004937/5.214, allocations: 25.7 kB / 2.247 GB, free: 4.195 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001589/5.216, allocations: 1.596 MB / 2.249 GB, free: 2.578 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005087/5.216, allocations: 287.7 kB / 2.249 GB, free: 2.293 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.603e-05/5.216, allocations: 0 / 2.249 GB, free: 2.293 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001953/5.217, allocations: 369.9 kB / 2.25 GB, free: 1.926 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001119/5.218, allocations: 0.7497 MB / 2.25 GB, free: 1.176 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00168/5.22, allocations: 1.511 MB / 2.252 GB, free: 15.3 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002798/5.222, allocations: 1.077 MB / 2.253 GB, free: 14.23 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.424e-05/5.222, allocations: 4 kB / 2.253 GB, free: 14.23 MB / 0.9011 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.006904/5.229, allocations: 2.789 MB / 2.256 GB, free: 11.42 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.004351/5.234, allocations: 9.345 MB / 2.265 GB, free: 1.359 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.211e-05/5.234, allocations: 27.94 kB / 2.265 GB, free: 1.332 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001291/5.235, allocations: 442.3 kB / 2.265 GB, free: 0.8906 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001923/5.237, allocations: 371.3 kB / 2.266 GB, free: 0.5273 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6916/5.929, allocations: 2.367 MB / 2.268 GB, free: 123.9 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003945/5.933, allocations: 139.8 kB / 2.268 GB, free: 123.9 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006619/5.933, allocations: 156.7 kB / 2.268 GB, free: 123.9 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/5.933, allocations: 4.062 kB / 2.268 GB, free: 123.9 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006899/5.94, allocations: 2.149 MB / 2.27 GB, free: 123.9 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.434e-05/5.94, allocations: 22.94 kB / 2.27 GB, free: 123.9 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001565/5.942, allocations: 484 kB / 2.271 GB, free: 123.9 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001643/5.944, allocations: 353.3 kB / 2.271 GB, free: 123.9 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008593/5.952, allocations: 5.098 MB / 2.276 GB, free: 121.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004239/5.956, allocations: 134.3 kB / 2.276 GB, free: 121.2 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007889/5.957, allocations: 136.1 kB / 2.276 GB, free: 121.2 MB / 0.9011 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.0009525/5.958, allocations: 173.1 kB / 2.276 GB, free: 121.1 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001747/5.96, allocations: 310.2 kB / 2.277 GB, free: 121.1 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006983/5.967, allocations: 2.105 MB / 2.279 GB, free: 120.9 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.867e-05/5.967, allocations: 12.39 kB / 2.279 GB, free: 120.9 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/5.967, allocations: 0 / 2.279 GB, free: 120.9 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.145e-05/5.967, allocations: 5.109 kB / 2.279 GB, free: 120.9 MB / 0.9011 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.01107/5.978, allocations: 4.428 MB / 2.283 GB, free: 120.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.057e-06/5.978, allocations: 4.969 kB / 2.283 GB, free: 120.5 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00103/5.979, allocations: 179.4 kB / 2.283 GB, free: 120.5 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007519/5.98, allocations: 278.7 kB / 2.284 GB, free: 120.5 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001039/5.98, allocations: 23.52 kB / 2.284 GB, free: 120.5 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001731/5.982, allocations: 2.02 MB / 2.286 GB, free: 119 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.223e-06/5.982, allocations: 1.797 kB / 2.286 GB, free: 119 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006255/5.988, allocations: 2.672 MB / 2.288 GB, free: 118.4 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002211/5.99, allocations: 0.6901 MB / 2.289 GB, free: 118.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005274/5.991, allocations: 5.719 kB / 2.289 GB, free: 118.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001689/5.993, allocations: 136 kB / 2.289 GB, free: 118.2 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001945/5.993, allocations: 77.27 kB / 2.289 GB, free: 118.2 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001479/5.993, allocations: 58.89 kB / 2.289 GB, free: 118.2 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.005326/5.998, allocations: 2.576 MB / 2.292 GB, free: 118 MB / 0.9011 GB Notification: Performance of sort global known variables: time 3.11e-07/5.998, allocations: 0 / 2.292 GB, free: 118 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.008424/6.007, allocations: 1.588 MB / 2.293 GB, free: 117.9 MB / 0.9011 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.003863/6.011, allocations: 1.67 MB / 2.295 GB, free: 117.6 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.006367/6.017, allocations: 2.95 MB / 2.298 GB, free: 117.5 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 7.153e-06/6.017, allocations: 0 / 2.298 GB, free: 117.5 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.001427/6.019, allocations: 0.6238 MB / 2.298 GB, free: 117.5 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009319/6.028, allocations: 1.519 MB / 2.3 GB, free: 117.4 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01004/6.038, allocations: 4.169 MB / 2.304 GB, free: 116.4 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001703/6.04, allocations: 2.18 MB / 2.306 GB, free: 115.6 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.007442/6.047, allocations: 1.574 MB / 2.308 GB, free: 115.6 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006531/6.048, allocations: 193.8 kB / 2.308 GB, free: 115.6 MB / 0.9011 GB Notification: Performance of SimCode: time 1.442e-06/6.048, allocations: 2.844 kB / 2.308 GB, free: 115.6 MB / 0.9011 GB Notification: Performance of Templates: time 0.1366/6.184, allocations: 76.3 MB / 2.382 GB, free: 111.9 MB / 0.9011 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Movers_Validation_PumpCurveDerivatives.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches