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.368/2.368, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001681/0.00168, allocations: 173.1 kB / 498.1 MB, free: 5.734 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.74/1.74, allocations: 223.2 MB / 0.7948 GB, free: 17.86 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.001086/0.001086, allocations: 91.84 kB / 0.9346 GB, free: 6.184 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004134/0.0004135, allocations: 6.938 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3594/0.3598, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.291/1.651, allocations: 403.7 MB / 1.617 GB, free: 7.426 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002752/1.652, allocations: 94.42 kB / 1.617 GB, free: 7.379 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.762/5.414, allocations: 0.9488 GB / 2.566 GB, free: 190.7 MB / 1.167 GB Notification: Performance of FrontEnd: time 4.468e-06/5.414, allocations: 0 / 2.566 GB, free: 190.7 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.001073/5.415, allocations: 85.53 kB / 2.566 GB, free: 190.7 MB / 1.167 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.03318/5.448, allocations: 5.663 MB / 2.572 GB, free: 187.1 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.674e-05/5.448, allocations: 13.38 kB / 2.572 GB, free: 187.1 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01225/5.46, allocations: 1.162 MB / 2.573 GB, free: 186.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0749/5.535, allocations: 20.2 MB / 2.592 GB, free: 168.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000339/5.536, allocations: 143.1 kB / 2.593 GB, free: 168.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001021/5.537, allocations: 186.6 kB / 2.593 GB, free: 168.5 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007368/5.544, allocations: 2.245 MB / 2.595 GB, free: 166.1 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.731e-05/5.544, allocations: 8 kB / 2.595 GB, free: 166.1 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003042/5.545, allocations: 71.78 kB / 2.595 GB, free: 166 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.44e-05/5.545, allocations: 36 kB / 2.595 GB, free: 166 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007314/5.552, allocations: 1.745 MB / 2.597 GB, free: 164.3 MB / 1.167 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.03515/5.587, allocations: 10.48 MB / 2.607 GB, free: 153.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008066/5.595, allocations: 1.485 MB / 2.608 GB, free: 151.9 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01367/5.609, allocations: 4.107 MB / 2.612 GB, free: 147.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.874e-05/5.609, allocations: 47.45 kB / 2.613 GB, free: 147.5 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003712/5.613, allocations: 202.5 kB / 2.613 GB, free: 147.3 MB / 1.167 GB Notification: Performance of pre-optimization done (n=84): time 1.306e-05/5.613, allocations: 0 / 2.613 GB, free: 147.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=84): time 0.01959/5.633, allocations: 3.101 MB / 2.616 GB, free: 144.1 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.646e-05/5.633, allocations: 68.33 kB / 2.616 GB, free: 144.1 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01574/5.649, allocations: 3.771 MB / 2.62 GB, free: 140.3 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.000983/5.65, allocations: 53.7 kB / 2.62 GB, free: 140.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.003879/5.654, allocations: 1.623 MB / 2.621 GB, free: 138.6 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001234/5.655, allocations: 294.1 kB / 2.621 GB, free: 138.3 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007628/5.656, allocations: 35.52 kB / 2.621 GB, free: 138.3 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.00037/5.656, allocations: 365.9 kB / 2.622 GB, free: 137.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003873/5.66, allocations: 0.7339 MB / 2.623 GB, free: 137.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00394/5.664, allocations: 1.513 MB / 2.624 GB, free: 135.3 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003693/5.668, allocations: 0.8911 MB / 2.625 GB, free: 134.4 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.831e-05/5.668, allocations: 4 kB / 2.625 GB, free: 134.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.01192/5.68, allocations: 2.667 MB / 2.627 GB, free: 131.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.002434/5.682, allocations: 9.435 MB / 2.637 GB, free: 121.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-05/5.682, allocations: 27.94 kB / 2.637 GB, free: 121.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002084/5.684, allocations: 389.4 kB / 2.637 GB, free: 121.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002905/5.687, allocations: 395.4 kB / 2.637 GB, free: 120.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00311/5.69, allocations: 2.137 MB / 2.64 GB, free: 118.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005733/5.696, allocations: 199.7 kB / 2.64 GB, free: 118.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008001/5.697, allocations: 155.9 kB / 2.64 GB, free: 118.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/5.697, allocations: 4 kB / 2.64 GB, free: 118.3 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01054/5.708, allocations: 2.505 MB / 2.642 GB, free: 115.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001068/5.708, allocations: 20 kB / 2.642 GB, free: 115.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002859/5.711, allocations: 0.5287 MB / 2.643 GB, free: 115.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002781/5.714, allocations: 375.4 kB / 2.643 GB, free: 114.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01097/5.725, allocations: 5.384 MB / 2.649 GB, free: 109.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005216/5.73, allocations: 195.8 kB / 2.649 GB, free: 109.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000753/5.731, allocations: 132 kB / 2.649 GB, free: 108.9 MB / 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 () * Number of clocked 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.003896/5.735, allocations: 0.8949 MB / 2.65 GB, free: 108 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001702/5.736, allocations: 327.7 kB / 2.65 GB, free: 107.7 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0121/5.748, allocations: 2.443 MB / 2.652 GB, free: 105.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-05/5.749, allocations: 15.98 kB / 2.652 GB, free: 105.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.687e-06/5.749, allocations: 0 / 2.652 GB, free: 105.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.591e-05/5.749, allocations: 7.938 kB / 2.652 GB, free: 105.2 MB / 1.167 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 postOpt removeSimpleEquations (simulation): time 0.02424/5.773, allocations: 5.001 MB / 2.657 GB, free: 100.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.049e-05/5.773, allocations: 0 / 2.657 GB, free: 100.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0021/5.775, allocations: 219.8 kB / 2.658 GB, free: 99.96 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001991/5.777, allocations: 345.4 kB / 2.658 GB, free: 99.62 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003237/5.777, allocations: 35.97 kB / 2.658 GB, free: 99.59 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002726/5.78, allocations: 2.014 MB / 2.66 GB, free: 97.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/5.78, allocations: 0 / 2.66 GB, free: 97.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01199/5.792, allocations: 3.217 MB / 2.663 GB, free: 94.21 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002611/5.795, allocations: 0.7191 MB / 2.664 GB, free: 93.47 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001353/5.796, allocations: 23.12 kB / 2.664 GB, free: 93.45 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003132/5.799, allocations: 187.7 kB / 2.664 GB, free: 93.27 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002176/5.8, allocations: 68.86 kB / 2.664 GB, free: 93.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001961/5.8, allocations: 67.55 kB / 2.664 GB, free: 93.14 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.006169/5.806, allocations: 2.883 MB / 2.667 GB, free: 90.25 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.01e-07/5.806, allocations: 0 / 2.667 GB, free: 90.25 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.009388/5.816, allocations: 1.692 MB / 2.668 GB, free: 88.55 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 () * Number of clocked 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.004042/5.82, allocations: 1.758 MB / 2.67 GB, free: 86.84 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.008167/5.828, allocations: 3.228 MB / 2.673 GB, free: 83.61 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 8.366e-06/5.828, allocations: 0 / 2.673 GB, free: 83.61 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.002088/5.83, allocations: 0.8182 MB / 2.674 GB, free: 82.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008661/5.839, allocations: 1.643 MB / 2.676 GB, free: 81.21 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0144/5.853, allocations: 6.419 MB / 2.682 GB, free: 74.76 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003335/5.856, allocations: 2.177 MB / 2.684 GB, free: 72.55 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.006228/5.863, allocations: 0.9064 MB / 2.685 GB, free: 71.76 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001322/5.864, allocations: 283 kB / 2.685 GB, free: 71.49 MB / 1.167 GB Notification: Performance of SimCode: time 1.984e-06/5.864, allocations: 0 / 2.685 GB, free: 71.49 MB / 1.167 GB Notification: Performance of Templates: time 0.1342/5.998, allocations: 83.21 MB / 2.767 GB, free: 5.742 MB / 1.182 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