Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_dy.y|ddp_dm_flow.y|dm_flow_dy.y",fileNamePrefix="Buildings_10_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives") translateModel(Buildings.Fluid.Movers.Validation.PumpCurveDerivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ddp_dy.y|ddp_dm_flow.y|dm_flow_dy.y",fileNamePrefix="Buildings_10_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.00469/0.00469, allocations: 98.36 kB / 15.73 MB, free: 5.602 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.001063/0.001063, allocations: 195.5 kB / 16.68 MB, free: 5.523 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.328/1.328, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.415/2.415, allocations: 437 MB / 0.7105 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 72.09 kB / 1.019 GB, free: 9.387 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7757/0.777, allocations: 151.6 MB / 1.167 GB, free: 3.785 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PumpCurveDerivatives): time 0.07627/0.8534, allocations: 79.37 MB / 1.244 GB, free: 4.141 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.03892/0.8923, allocations: 28.42 MB / 1.272 GB, free: 7.652 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005843/0.8982, allocations: 123.4 kB / 1.272 GB, free: 7.531 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.007437/0.9057, allocations: 2.629 MB / 1.275 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01034/0.916, allocations: 4.002 MB / 1.278 GB, free: 0.8711 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.008076/0.9241, allocations: 3.172 MB / 1.282 GB, free: 13.71 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.03398/0.9581, allocations: 22.53 MB / 1.304 GB, free: 7.156 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005338/0.9635, allocations: 2.754 MB / 1.306 GB, free: 4.34 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008026/0.9715, allocations: 3.199 MB / 1.309 GB, free: 1.141 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004996/0.9765, allocations: 2.577 MB / 1.312 GB, free: 14.55 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.001502/0.978, allocations: 372 kB / 1.312 GB, free: 14.19 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006131/0.9842, allocations: 2.36 MB / 1.315 GB, free: 11.83 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.002232/0.9864, allocations: 1.815 MB / 1.316 GB, free: 10.01 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.004564/0.991, allocations: 2.643 MB / 1.319 GB, free: 7.352 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0123/1.003, allocations: 7.893 MB / 1.327 GB, free: 15.43 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/1.003, allocations: 4 kB / 1.327 GB, free: 15.43 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.583e-06/1.003, allocations: 0 / 1.327 GB, free: 15.43 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0002364/1.004, allocations: 0 / 1.327 GB, free: 15.43 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 405 * Number of variables: 405 Notification: Performance of Generate backend data structure: time 0.01484/1.018, allocations: 6.013 MB / 1.332 GB, free: 9.309 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/1.019, allocations: 8.922 kB / 1.332 GB, free: 9.301 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008189/1.027, allocations: 1.577 MB / 1.334 GB, free: 7.719 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01382/1.041, allocations: 7.499 MB / 1.341 GB, free: 160 kB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001529/1.041, allocations: 151.2 kB / 1.341 GB, free: 8 kB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004269/1.041, allocations: 184 kB / 1.342 GB, free: 15.82 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005156/1.046, allocations: 2.607 MB / 1.344 GB, free: 13.12 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.382e-05/1.046, allocations: 4 kB / 1.344 GB, free: 13.12 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001842/1.047, allocations: 68 kB / 1.344 GB, free: 13.05 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.105e-05/1.047, allocations: 39.94 kB / 1.344 GB, free: 13.02 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005256/1.052, allocations: 2.01 MB / 1.346 GB, free: 11 MB / 1.076 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.01813/1.07, allocations: 11.75 MB / 1.358 GB, free: 14.65 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004885/1.075, allocations: 1.712 MB / 1.359 GB, free: 12.94 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002059/1.077, allocations: 0.7928 MB / 1.36 GB, free: 12.14 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007755/1.085, allocations: 4.085 MB / 1.364 GB, free: 7.789 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.946e-05/1.085, allocations: 47.16 kB / 1.364 GB, free: 7.734 MB / 1.092 GB Notification: Performance of pre-optimization done (n=82): time 2.565e-06/1.085, allocations: 0 / 1.364 GB, free: 7.734 MB / 1.092 GB Notification: Performance of matching and sorting (n=82): time 0.00821/1.093, allocations: 2.82 MB / 1.367 GB, free: 4.883 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.367e-05/1.093, allocations: 60.06 kB / 1.367 GB, free: 4.812 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01069/1.104, allocations: 5.682 MB / 1.373 GB, free: 15.15 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.000412/1.104, allocations: 57.64 kB / 1.373 GB, free: 15.09 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.002037/1.106, allocations: 2.049 MB / 1.375 GB, free: 13.03 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004774/1.107, allocations: 321.4 kB / 1.375 GB, free: 12.71 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001075/1.108, allocations: 0.709 MB / 1.376 GB, free: 11.99 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001022/1.108, allocations: 309.1 kB / 1.376 GB, free: 11.69 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003565/1.112, allocations: 2.028 MB / 1.378 GB, free: 9.648 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004314/1.116, allocations: 2.907 MB / 1.381 GB, free: 6.395 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007374/1.123, allocations: 4.585 MB / 1.385 GB, free: 1.516 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.86e-05/1.123, allocations: 8 kB / 1.385 GB, free: 1.508 MB / 1.107 GB Notification: Performance of matching and sorting (n=402) (initialization): time 0.01075/1.134, allocations: 5.61 MB / 1.391 GB, free: 11.88 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.533e-05/1.134, allocations: 12 kB / 1.391 GB, free: 11.87 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.591e-05/1.134, allocations: 24 kB / 1.391 GB, free: 11.84 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008617/1.135, allocations: 408.6 kB / 1.391 GB, free: 11.44 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002421/1.138, allocations: 0.5814 MB / 1.392 GB, free: 10.86 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001005/1.139, allocations: 0.8958 MB / 1.393 GB, free: 9.938 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003915/1.143, allocations: 422.1 kB / 1.393 GB, free: 9.523 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004173/1.143, allocations: 151.9 kB / 1.393 GB, free: 9.375 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006299/1.149, allocations: 2.863 MB / 1.396 GB, free: 6.508 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004697/1.154, allocations: 2.687 MB / 1.399 GB, free: 3.473 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006954/1.161, allocations: 4.141 MB / 1.403 GB, free: 15.03 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.078e-05/1.161, allocations: 4 kB / 1.403 GB, free: 15.03 MB / 1.139 GB Notification: Performance of matching and sorting (n=402) (initialization_lambda0): time 0.01342/1.175, allocations: 5.173 MB / 1.408 GB, free: 9.836 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 4.191e-05/1.175, allocations: 20.25 kB / 1.408 GB, free: 9.816 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.393e-05/1.175, allocations: 20 kB / 1.408 GB, free: 9.797 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001222/1.176, allocations: 460.5 kB / 1.408 GB, free: 9.344 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002627/1.179, allocations: 0.5577 MB / 1.409 GB, free: 8.785 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0093/1.188, allocations: 6.118 MB / 1.415 GB, free: 2.453 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004249/1.192, allocations: 331.1 kB / 1.415 GB, free: 2.133 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004849/1.193, allocations: 140 kB / 1.415 GB, free: 1.996 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * 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 (281): * Single equations (assignments): 274 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 3 * 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.0007708/1.193, allocations: 316.6 kB / 1.415 GB, free: 1.68 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00132/1.195, allocations: 460.8 kB / 1.416 GB, free: 1.227 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006834/1.202, allocations: 2.481 MB / 1.418 GB, free: 14.73 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.196e-05/1.202, allocations: 12 kB / 1.418 GB, free: 14.71 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/1.202, allocations: 0 / 1.418 GB, free: 14.71 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.344e-05/1.202, allocations: 7.969 kB / 1.418 GB, free: 14.71 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01271/1.214, allocations: 5.156 MB / 1.423 GB, free: 9.473 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.244e-06/1.214, allocations: 0 / 1.423 GB, free: 9.473 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001504/1.216, allocations: 267.8 kB / 1.424 GB, free: 9.211 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004028/1.216, allocations: 160.7 kB / 1.424 GB, free: 9.051 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001142/1.217, allocations: 35.97 kB / 1.424 GB, free: 9.016 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007614/1.217, allocations: 0.8138 MB / 1.425 GB, free: 8.176 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/1.217, allocations: 8.062 kB / 1.425 GB, free: 8.168 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008753/1.226, allocations: 3.426 MB / 1.428 GB, free: 4.707 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002537/1.229, allocations: 0.7709 MB / 1.429 GB, free: 3.914 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001247/1.23, allocations: 16 kB / 1.429 GB, free: 3.898 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002797/1.233, allocations: 147.8 kB / 1.429 GB, free: 3.754 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001562/1.233, allocations: 76.78 kB / 1.429 GB, free: 3.676 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001514/1.233, allocations: 55.94 kB / 1.429 GB, free: 3.621 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.008343/1.241, allocations: 3.856 MB / 1.433 GB, free: 15.79 MB / 1.17 GB Notification: Performance of sort global known variables: time 5.01e-07/1.241, allocations: 4 kB / 1.433 GB, free: 15.79 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.007563/1.249, allocations: 1.946 MB / 1.435 GB, free: 13.84 MB / 1.17 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_dy.x,dm_flow_dy.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 (96): * Single equations (assignments): 87 * 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.002393/1.251, allocations: 0.8134 MB / 1.435 GB, free: 13.02 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0123/1.264, allocations: 5.762 MB / 1.441 GB, free: 7.258 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 1.001e-05/1.264, allocations: 0.875 kB / 1.441 GB, free: 7.258 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.00294/1.267, allocations: 0.8842 MB / 1.442 GB, free: 6.375 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01257/1.279, allocations: 2.418 MB / 1.444 GB, free: 4.023 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01741/1.297, allocations: 7.857 MB / 1.452 GB, free: 12.11 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003767/1.301, allocations: 2.667 MB / 1.455 GB, free: 9.41 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.005555/1.306, allocations: 1.212 MB / 1.456 GB, free: 8.191 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001305/1.308, allocations: 347.3 kB / 1.456 GB, free: 7.852 MB / 1.186 GB Notification: Performance of SimCode: time 9.02e-07/1.308, allocations: 4 kB / 1.456 GB, free: 7.848 MB / 1.186 GB Notification: Performance of Templates: time 0.1591/1.467, allocations: 94.9 MB / 1.549 GB, free: 10.23 MB / 1.279 GB make -j1 -f Buildings_10_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.makefile (rm -f Buildings_10_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe ; mkfifo Buildings_10_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe >> ../files/Buildings_10_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.sim & ./Buildings_10_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Movers_Validation_PumpCurveDerivatives.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches