Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001445/0.001445, allocations: 105.3 kB / 16.41 MB, free: 6.508 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.001737/0.001737, allocations: 192.2 kB / 17.34 MB, free: 5.742 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.356/1.356, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.621/2.621, allocations: 461.9 MB / 0.7355 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 67.91 kB / 1.055 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8394/0.841, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PumpCurveDerivatives): time 0.0936/0.9346, allocations: 79.36 MB / 1.286 GB, free: 13.98 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.04491/0.9796, allocations: 28.41 MB / 1.314 GB, free: 1.492 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005467/0.9851, allocations: 123.3 kB / 1.314 GB, free: 1.371 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.008525/0.9937, allocations: 2.633 MB / 1.316 GB, free: 14.73 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.01176/1.006, allocations: 3.883 MB / 1.32 GB, free: 10.82 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.008498/1.014, allocations: 3.17 MB / 1.323 GB, free: 7.668 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.03524/1.049, allocations: 22.53 MB / 1.345 GB, free: 1.102 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005977/1.055, allocations: 2.738 MB / 1.348 GB, free: 14.3 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009036/1.064, allocations: 3.201 MB / 1.351 GB, free: 11.1 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005387/1.07, allocations: 2.58 MB / 1.354 GB, free: 8.508 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.001815/1.072, allocations: 372 kB / 1.354 GB, free: 8.145 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006487/1.078, allocations: 2.36 MB / 1.356 GB, free: 5.781 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.002625/1.081, allocations: 1.815 MB / 1.358 GB, free: 3.961 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.005149/1.086, allocations: 2.651 MB / 1.361 GB, free: 1.297 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01334/1.099, allocations: 7.866 MB / 1.368 GB, free: 9.406 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/1.099, allocations: 0 / 1.368 GB, free: 9.406 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.825e-06/1.099, allocations: 0 / 1.368 GB, free: 9.406 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0002673/1.1, allocations: 0 / 1.368 GB, free: 9.406 MB / 1.092 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.01559/1.115, allocations: 5.826 MB / 1.374 GB, free: 3.48 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.729e-05/1.115, allocations: 8.031 kB / 1.374 GB, free: 3.473 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009096/1.125, allocations: 1.543 MB / 1.375 GB, free: 1.922 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01655/1.141, allocations: 7.467 MB / 1.383 GB, free: 10.39 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002295/1.141, allocations: 143.2 kB / 1.383 GB, free: 10.25 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007216/1.142, allocations: 188 kB / 1.383 GB, free: 10.06 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006667/1.149, allocations: 2.596 MB / 1.386 GB, free: 7.371 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.13e-05/1.149, allocations: 15.92 kB / 1.386 GB, free: 7.355 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003621/1.149, allocations: 71.94 kB / 1.386 GB, free: 7.285 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.708e-05/1.149, allocations: 40 kB / 1.386 GB, free: 7.246 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006239/1.156, allocations: 2.002 MB / 1.388 GB, free: 5.238 MB / 1.107 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.02165/1.177, allocations: 11.74 MB / 1.399 GB, free: 8.91 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005254/1.183, allocations: 1.711 MB / 1.401 GB, free: 7.195 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002198/1.185, allocations: 0.8013 MB / 1.402 GB, free: 6.395 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007697/1.193, allocations: 4.065 MB / 1.406 GB, free: 2.055 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.595e-05/1.193, allocations: 47.22 kB / 1.406 GB, free: 2 MB / 1.123 GB Notification: Performance of pre-optimization done (n=82): time 3.075e-06/1.193, allocations: 0 / 1.406 GB, free: 2 MB / 1.123 GB Notification: Performance of matching and sorting (n=82): time 0.008842/1.201, allocations: 2.786 MB / 1.408 GB, free: 15.18 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.279e-05/1.202, allocations: 60.06 kB / 1.408 GB, free: 15.11 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01128/1.213, allocations: 5.685 MB / 1.414 GB, free: 9.441 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0004433/1.213, allocations: 57.69 kB / 1.414 GB, free: 9.379 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.002314/1.216, allocations: 2.027 MB / 1.416 GB, free: 7.336 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005203/1.216, allocations: 307.8 kB / 1.416 GB, free: 7.031 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001123/1.217, allocations: 0.7049 MB / 1.417 GB, free: 6.316 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 9.986e-05/1.217, allocations: 301.1 kB / 1.417 GB, free: 6.02 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003653/1.221, allocations: 2.032 MB / 1.419 GB, free: 3.977 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004522/1.226, allocations: 2.907 MB / 1.422 GB, free: 0.7188 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007681/1.233, allocations: 4.593 MB / 1.427 GB, free: 11.83 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.313e-05/1.233, allocations: 4 kB / 1.427 GB, free: 11.82 MB / 1.154 GB Notification: Performance of matching and sorting (n=402) (initialization): time 0.01115/1.245, allocations: 5.583 MB / 1.432 GB, free: 6.227 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 4.099e-05/1.245, allocations: 14.19 kB / 1.432 GB, free: 6.215 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.849e-05/1.245, allocations: 24 kB / 1.432 GB, free: 6.191 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008689/1.246, allocations: 417.2 kB / 1.432 GB, free: 5.781 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002568/1.248, allocations: 0.5773 MB / 1.433 GB, free: 5.203 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009857/1.249, allocations: 0.9035 MB / 1.434 GB, free: 4.273 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004093/1.253, allocations: 400.7 kB / 1.434 GB, free: 3.879 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005345/1.254, allocations: 155.9 kB / 1.434 GB, free: 3.727 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005454/1.259, allocations: 2.848 MB / 1.437 GB, free: 0.8711 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004302/1.264, allocations: 2.687 MB / 1.44 GB, free: 13.84 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007026/1.271, allocations: 4.145 MB / 1.444 GB, free: 9.391 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.722e-05/1.271, allocations: 4 kB / 1.444 GB, free: 9.387 MB / 1.17 GB Notification: Performance of matching and sorting (n=402) (initialization_lambda0): time 0.01091/1.282, allocations: 5.162 MB / 1.449 GB, free: 4.207 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.91e-05/1.282, allocations: 15.94 kB / 1.449 GB, free: 4.191 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.446e-05/1.282, allocations: 23.94 kB / 1.449 GB, free: 4.168 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001107/1.283, allocations: 448.9 kB / 1.449 GB, free: 3.727 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002533/1.285, allocations: 0.5656 MB / 1.45 GB, free: 3.16 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008752/1.294, allocations: 6.113 MB / 1.456 GB, free: 12.84 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004365/1.299, allocations: 318.1 kB / 1.456 GB, free: 12.53 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005758/1.299, allocations: 147.9 kB / 1.456 GB, free: 12.38 MB / 1.186 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.0007997/1.3, allocations: 319.5 kB / 1.457 GB, free: 12.06 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001535/1.302, allocations: 438.1 kB / 1.457 GB, free: 11.62 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007127/1.309, allocations: 2.473 MB / 1.459 GB, free: 9.129 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-05/1.309, allocations: 11.98 kB / 1.46 GB, free: 9.117 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/1.309, allocations: 3.984 kB / 1.46 GB, free: 9.113 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.416e-05/1.309, allocations: 3.984 kB / 1.46 GB, free: 9.109 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0127/1.322, allocations: 5.156 MB / 1.465 GB, free: 3.875 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/1.322, allocations: 0 / 1.465 GB, free: 3.875 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001583/1.323, allocations: 271.8 kB / 1.465 GB, free: 3.609 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004226/1.324, allocations: 160.7 kB / 1.465 GB, free: 3.449 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001136/1.324, allocations: 39.95 kB / 1.465 GB, free: 3.41 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000753/1.325, allocations: 0.8099 MB / 1.466 GB, free: 2.574 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1.325, allocations: 7.938 kB / 1.466 GB, free: 2.566 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00922/1.334, allocations: 3.4 MB / 1.469 GB, free: 15.12 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00243/1.336, allocations: 0.7448 MB / 1.47 GB, free: 14.35 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001199/1.337, allocations: 19.98 kB / 1.47 GB, free: 14.33 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002913/1.34, allocations: 151.8 kB / 1.47 GB, free: 14.18 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002047/1.341, allocations: 68.84 kB / 1.47 GB, free: 14.12 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001523/1.341, allocations: 51.95 kB / 1.47 GB, free: 14.07 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.007721/1.349, allocations: 3.867 MB / 1.474 GB, free: 10.23 MB / 1.201 GB Notification: Performance of sort global known variables: time 6.41e-07/1.349, allocations: 0 / 1.474 GB, free: 10.23 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.006782/1.355, allocations: 1.931 MB / 1.476 GB, free: 8.293 MB / 1.201 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.002041/1.357, allocations: 0.8018 MB / 1.477 GB, free: 7.496 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.01151/1.369, allocations: 5.769 MB / 1.482 GB, free: 1.727 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/1.369, allocations: 0 / 1.482 GB, free: 1.727 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.002506/1.372, allocations: 0.8803 MB / 1.483 GB, free: 0.8477 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01059/1.382, allocations: 2.412 MB / 1.485 GB, free: 14.5 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0169/1.399, allocations: 7.938 MB / 1.493 GB, free: 6.512 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002908/1.402, allocations: 2.644 MB / 1.496 GB, free: 3.84 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001642/1.404, allocations: 371.2 kB / 1.496 GB, free: 3.477 MB / 1.217 GB Notification: Performance of SimCode: time 1.373e-06/1.404, allocations: 0 / 1.496 GB, free: 3.477 MB / 1.217 GB Notification: Performance of Templates: time 0.755/2.159, allocations: 98.74 MB / 1.593 GB, free: 323.2 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.makefile (rm -f Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.sim & ./Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Movers_Validation_PumpCurveDerivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches