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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.0007964/0.0007964, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.00624/0.00624, allocations: 172.3 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.404/2.404, allocations: 390.9 MB / 0.6663 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003262/0.0003262, allocations: 12 kB / 0.8159 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7576/0.7579, allocations: 142.4 MB / 0.955 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PumpCurveDerivatives): time 0.08684/0.8448, allocations: 76.03 MB / 1.029 GB, free: 3.102 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0418/0.8867, allocations: 25.67 MB / 1.054 GB, free: 9.359 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005616/0.8923, allocations: 103.4 kB / 1.054 GB, free: 9.258 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.005712/0.8981, allocations: 1.411 MB / 1.056 GB, free: 7.84 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.01124/0.9094, allocations: 3.255 MB / 1.059 GB, free: 4.574 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.008466/0.9179, allocations: 2.651 MB / 1.062 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.01325/0.9311, allocations: 9.503 MB / 1.071 GB, free: 8.414 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00592/0.9371, allocations: 2.202 MB / 1.073 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0076/0.9447, allocations: 2.481 MB / 1.075 GB, free: 3.668 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004788/0.9496, allocations: 2.205 MB / 1.078 GB, free: 1.453 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.001267/0.9509, allocations: 135.9 kB / 1.078 GB, free: 1.32 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00535/0.9562, allocations: 2.008 MB / 1.08 GB, free: 15.31 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.001779/0.958, allocations: 1.098 MB / 1.081 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.003478/0.9615, allocations: 1.793 MB / 1.083 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.008947/0.9705, allocations: 5.805 MB / 1.088 GB, free: 6.574 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.9705, allocations: 4 kB / 1.088 GB, free: 6.57 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.663e-06/0.9705, allocations: 0 / 1.088 GB, free: 6.57 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0001689/0.9707, allocations: 0 / 1.088 GB, free: 6.57 MB / 0.8419 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.009449/0.9802, allocations: 4.052 MB / 1.092 GB, free: 2.449 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.9802, allocations: 16.03 kB / 1.092 GB, free: 2.434 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006999/0.9872, allocations: 1.261 MB / 1.093 GB, free: 1.168 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008962/0.9962, allocations: 3.893 MB / 1.097 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001068/0.9973, allocations: 335.6 kB / 1.098 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005095/0.9978, allocations: 184 kB / 1.098 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005471/1.003, allocations: 2.545 MB / 1.1 GB, free: 10.08 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.134e-05/1.003, allocations: 0 / 1.1 GB, free: 10.08 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001815/1.004, allocations: 68 kB / 1.1 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.203e-05/1.004, allocations: 40 kB / 1.1 GB, free: 9.977 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005939/1.01, allocations: 2.178 MB / 1.102 GB, free: 7.793 MB / 0.8575 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.01842/1.028, allocations: 10.77 MB / 1.113 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005682/1.034, allocations: 1.917 MB / 1.115 GB, free: 10.52 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002496/1.036, allocations: 0.9139 MB / 1.116 GB, free: 9.605 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006674/1.043, allocations: 3.805 MB / 1.119 GB, free: 5.531 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.523e-05/1.043, allocations: 43.22 kB / 1.119 GB, free: 5.48 MB / 0.8731 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001356/1.044, allocations: 178.6 kB / 1.12 GB, free: 5.305 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=79): time 7.474e-06/1.044, allocations: 0 / 1.12 GB, free: 5.305 MB / 0.8731 GB Notification: Performance of matching and sorting (n=79): time 0.009553/1.054, allocations: 3.041 MB / 1.123 GB, free: 2.23 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.101e-05/1.054, allocations: 60.06 kB / 1.123 GB, free: 2.16 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006531/1.061, allocations: 3.694 MB / 1.126 GB, free: 14.44 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0003699/1.061, allocations: 49.7 kB / 1.126 GB, free: 14.39 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.001568/1.063, allocations: 1.576 MB / 1.128 GB, free: 12.8 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004549/1.063, allocations: 291.9 kB / 1.128 GB, free: 12.51 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003321/1.063, allocations: 153.6 kB / 1.128 GB, free: 12.35 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 9.17e-05/1.063, allocations: 309.1 kB / 1.129 GB, free: 12.05 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003288/1.067, allocations: 1.413 MB / 1.13 GB, free: 10.63 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003718/1.07, allocations: 2.141 MB / 1.132 GB, free: 8.16 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006924/1.077, allocations: 3.456 MB / 1.135 GB, free: 4.41 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.291e-05/1.077, allocations: 12 kB / 1.135 GB, free: 4.398 MB / 0.8887 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.009701/1.087, allocations: 3.938 MB / 1.139 GB, free: 452 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005571/1.088, allocations: 0.7148 MB / 1.14 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.884e-05/1.088, allocations: 20 kB / 1.14 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007455/1.089, allocations: 312.6 kB / 1.14 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002286/1.091, allocations: 0.4953 MB / 1.141 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009651/1.092, allocations: 0.8099 MB / 1.142 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004578/1.096, allocations: 268.3 kB / 1.142 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005397/1.097, allocations: 139.9 kB / 1.142 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/1.097, allocations: 4 kB / 1.142 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007692/1.105, allocations: 3.156 MB / 1.145 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.702e-05/1.105, allocations: 24 kB / 1.145 GB, free: 10.19 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00108/1.106, allocations: 388.8 kB / 1.145 GB, free: 9.805 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002056/1.108, allocations: 475.2 kB / 1.146 GB, free: 9.34 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00683/1.115, allocations: 4.531 MB / 1.15 GB, free: 4.586 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003495/1.118, allocations: 244.5 kB / 1.151 GB, free: 4.348 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006272/1.119, allocations: 124 kB / 1.151 GB, free: 4.227 MB / 0.9044 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.002785/1.122, allocations: 0.8888 MB / 1.152 GB, free: 3.328 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001114/1.123, allocations: 327.8 kB / 1.152 GB, free: 3.004 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007794/1.131, allocations: 2.6 MB / 1.154 GB, free: 392 kB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-05/1.131, allocations: 8 kB / 1.154 GB, free: 384 kB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/1.131, allocations: 8 kB / 1.154 GB, free: 376 kB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.63e-05/1.131, allocations: 7.969 kB / 1.154 GB, free: 368 kB / 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.01563/1.147, allocations: 4.832 MB / 1.159 GB, free: 11.45 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.147e-05/1.147, allocations: 8.062 kB / 1.159 GB, free: 11.44 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001646/1.148, allocations: 319.5 kB / 1.159 GB, free: 11.13 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003914/1.149, allocations: 140.7 kB / 1.16 GB, free: 10.99 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001266/1.149, allocations: 31.97 kB / 1.16 GB, free: 10.96 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006631/1.149, allocations: 0.7397 MB / 1.16 GB, free: 10.19 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/1.149, allocations: 0 / 1.16 GB, free: 10.19 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009489/1.159, allocations: 3.562 MB / 1.164 GB, free: 6.594 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002124/1.161, allocations: 0.5708 MB / 1.164 GB, free: 6 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009949/1.162, allocations: 16 kB / 1.164 GB, free: 5.984 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002837/1.165, allocations: 247.6 kB / 1.165 GB, free: 5.742 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001724/1.165, allocations: 68.84 kB / 1.165 GB, free: 5.672 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001605/1.165, allocations: 55.95 kB / 1.165 GB, free: 5.617 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.005527/1.171, allocations: 2.538 MB / 1.167 GB, free: 3.066 MB / 0.92 GB Notification: Performance of sort global known variables: time 3.11e-07/1.171, allocations: 0 / 1.167 GB, free: 3.066 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.007307/1.178, allocations: 1.521 MB / 1.169 GB, free: 1.543 MB / 0.92 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002137/1.18, allocations: 0.6434 MB / 1.169 GB, free: 0.8984 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.01132/1.192, allocations: 4.403 MB / 1.174 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 9.357e-06/1.192, allocations: 4.062 kB / 1.174 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.002988/1.195, allocations: 1.001 MB / 1.175 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009715/1.205, allocations: 1.625 MB / 1.176 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01488/1.219, allocations: 6.987 MB / 1.183 GB, free: 2.84 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003389/1.223, allocations: 2.11 MB / 1.185 GB, free: 0.707 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.005153/1.228, allocations: 0.8321 MB / 1.186 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001116/1.229, allocations: 251.3 kB / 1.186 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of SimCode: time 1.984e-06/1.229, allocations: 0 / 1.186 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of Templates: time 0.6706/1.9, allocations: 72.14 MB / 1.257 GB, free: 268.6 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