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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0009861/0.0009859, allocations: 86.33 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.505/2.505, allocations: 390.9 MB / 0.666 GB, free: 2.441 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004975/0.0004976, allocations: 11.98 kB / 0.8154 GB, free: 13.64 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7848/0.7853, allocations: 142.4 MB / 0.9544 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PumpCurveDerivatives): time 0.07065/0.856, allocations: 71.75 MB / 1.025 GB, free: 7.555 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.03987/0.896, allocations: 24.25 MB / 1.048 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006538/0.9026, allocations: 95.38 kB / 1.048 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.005634/0.9082, allocations: 1.095 MB / 1.049 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.01133/0.9196, allocations: 2.899 MB / 1.052 GB, free: 11.14 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.008136/0.9278, allocations: 2.224 MB / 1.054 GB, free: 8.934 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.01301/0.9408, allocations: 8.05 MB / 1.062 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005855/0.9467, allocations: 1.963 MB / 1.064 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007322/0.9541, allocations: 2.416 MB / 1.066 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004814/0.9589, allocations: 2.128 MB / 1.069 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.001231/0.9602, allocations: 136 kB / 1.069 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005988/0.9662, allocations: 1.548 MB / 1.07 GB, free: 8.621 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.002084/0.9683, allocations: 1.094 MB / 1.071 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.002265/0.9706, allocations: 0.7497 MB / 1.072 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.007265/0.9779, allocations: 4.563 MB / 1.076 GB, free: 2.195 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.9779, allocations: 0 / 1.076 GB, free: 2.195 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.923e-06/0.9779, allocations: 0 / 1.076 GB, free: 2.195 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0002205/0.9781, allocations: 4 kB / 1.076 GB, free: 2.191 MB / 0.8262 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.009793/0.988, allocations: 4.095 MB / 1.08 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.988, allocations: 8.031 kB / 1.08 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006484/0.9945, allocations: 1.271 MB / 1.082 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00933/1.004, allocations: 3.785 MB / 1.085 GB, free: 8.906 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000974/1.005, allocations: 335.6 kB / 1.086 GB, free: 8.578 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000715/1.006, allocations: 183.9 kB / 1.086 GB, free: 8.398 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006884/1.013, allocations: 2.564 MB / 1.088 GB, free: 5.746 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.52e-05/1.013, allocations: 3.938 kB / 1.088 GB, free: 5.742 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003147/1.013, allocations: 64 kB / 1.088 GB, free: 5.68 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.18e-05/1.013, allocations: 36 kB / 1.089 GB, free: 5.645 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006611/1.02, allocations: 2.264 MB / 1.091 GB, free: 3.375 MB / 0.8419 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.02085/1.04, allocations: 10.83 MB / 1.101 GB, free: 7.961 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005428/1.046, allocations: 1.929 MB / 1.103 GB, free: 6.027 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002432/1.048, allocations: 0.9381 MB / 1.104 GB, free: 5.09 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009084/1.058, allocations: 3.848 MB / 1.108 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.144e-05/1.058, allocations: 39.22 kB / 1.108 GB, free: 0.9219 MB / 0.8575 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002001/1.06, allocations: 174.6 kB / 1.108 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=79): time 6.933e-06/1.06, allocations: 0 / 1.108 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of matching and sorting (n=79): time 0.01411/1.074, allocations: 3.127 MB / 1.111 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.879e-05/1.074, allocations: 60.06 kB / 1.111 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008901/1.083, allocations: 3.674 MB / 1.115 GB, free: 9.82 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0006641/1.083, allocations: 57.64 kB / 1.115 GB, free: 9.758 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.002473/1.086, allocations: 1.576 MB / 1.116 GB, free: 8.168 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008821/1.087, allocations: 276 kB / 1.117 GB, free: 7.895 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001659/1.087, allocations: 32 kB / 1.117 GB, free: 7.863 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002511/1.087, allocations: 369.9 kB / 1.117 GB, free: 7.496 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004231/1.092, allocations: 1.081 MB / 1.118 GB, free: 6.414 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005014/1.097, allocations: 1.814 MB / 1.12 GB, free: 4.266 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004079/1.101, allocations: 1.209 MB / 1.121 GB, free: 3.055 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-05/1.101, allocations: 4 kB / 1.121 GB, free: 3.051 MB / 0.8731 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.0121/1.113, allocations: 3.177 MB / 1.124 GB, free: 15.86 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007722/1.114, allocations: 0.7208 MB / 1.125 GB, free: 14.84 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.202e-05/1.114, allocations: 20 kB / 1.125 GB, free: 14.82 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007302/1.114, allocations: 148.8 kB / 1.125 GB, free: 14.68 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003409/1.118, allocations: 0.5031 MB / 1.125 GB, free: 14.17 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001261/1.119, allocations: 0.8176 MB / 1.126 GB, free: 13.33 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004533/1.124, allocations: 292.2 kB / 1.127 GB, free: 13.04 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005618/1.124, allocations: 139.9 kB / 1.127 GB, free: 12.91 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/1.124, allocations: 4 kB / 1.127 GB, free: 12.9 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01018/1.135, allocations: 3.164 MB / 1.13 GB, free: 9.734 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-05/1.135, allocations: 20 kB / 1.13 GB, free: 9.715 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001382/1.136, allocations: 400.9 kB / 1.13 GB, free: 9.32 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002672/1.139, allocations: 463.3 kB / 1.131 GB, free: 8.867 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009055/1.148, allocations: 4.481 MB / 1.135 GB, free: 4.176 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004287/1.152, allocations: 262.1 kB / 1.135 GB, free: 3.922 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006189/1.153, allocations: 120 kB / 1.135 GB, free: 3.805 MB / 0.8887 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 (180): * Single equations (assignments): 176 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.002825/1.156, allocations: 0.9025 MB / 1.136 GB, free: 2.891 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0012/1.157, allocations: 319.8 kB / 1.137 GB, free: 2.574 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01001/1.167, allocations: 2.651 MB / 1.139 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-05/1.167, allocations: 15.98 kB / 1.139 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.518e-06/1.167, allocations: 3.953 kB / 1.139 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.109e-05/1.167, allocations: 3.984 kB / 1.139 GB, free: 15.88 MB / 0.9044 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.01572/1.183, allocations: 4.907 MB / 1.144 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.315e-06/1.183, allocations: 0 / 1.144 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002092/1.185, allocations: 323.7 kB / 1.144 GB, free: 10.58 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004698/1.185, allocations: 136.8 kB / 1.144 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001438/1.185, allocations: 39.95 kB / 1.144 GB, free: 10.4 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007946/1.186, allocations: 0.7357 MB / 1.145 GB, free: 9.641 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/1.186, allocations: 3.953 kB / 1.145 GB, free: 9.637 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01163/1.198, allocations: 3.624 MB / 1.149 GB, free: 5.977 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002069/1.2, allocations: 0.5708 MB / 1.149 GB, free: 5.383 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001047/1.201, allocations: 20 kB / 1.149 GB, free: 5.363 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003213/1.204, allocations: 263.6 kB / 1.15 GB, free: 5.105 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001765/1.205, allocations: 68.89 kB / 1.15 GB, free: 5.039 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001912/1.205, allocations: 51.95 kB / 1.15 GB, free: 4.988 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.006479/1.211, allocations: 2.519 MB / 1.152 GB, free: 2.457 MB / 0.9044 GB Notification: Performance of sort global known variables: time 5.41e-07/1.211, allocations: 8 kB / 1.152 GB, free: 2.449 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.006675/1.218, allocations: 1.517 MB / 1.154 GB, free: 0.9297 MB / 0.9044 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 (93): * Single equations (assignments): 84 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001731/1.22, allocations: 0.6138 MB / 1.154 GB, free: 320 kB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.01112/1.231, allocations: 4.102 MB / 1.158 GB, free: 12.2 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/1.231, allocations: 4.938 kB / 1.158 GB, free: 12.2 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.00272/1.234, allocations: 1.017 MB / 1.159 GB, free: 11.19 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007682/1.241, allocations: 1.665 MB / 1.161 GB, free: 9.531 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0151/1.256, allocations: 6.783 MB / 1.167 GB, free: 2.707 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003317/1.26, allocations: 2.099 MB / 1.169 GB, free: 0.582 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.005748/1.266, allocations: 0.836 MB / 1.17 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001181/1.267, allocations: 251.3 kB / 1.171 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of SimCode: time 1.342e-06/1.267, allocations: 0 / 1.171 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of Templates: time 0.1208/1.388, allocations: 70.68 MB / 1.24 GB, free: 9.887 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