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.001349/0.001349, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001321/0.001321, allocations: 191.4 kB / 17.34 MB, free: 5.695 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.397/1.397, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.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.275/2.275, allocations: 390.2 MB / 0.6655 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 63.91 kB / 0.9515 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9831/0.9844, allocations: 140.4 MB / 1.089 GB, free: 5.5 MB / 0.8575 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter forcedPump1.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PumpCurveDerivatives): time 0.09115/1.076, allocations: 78.06 MB / 1.165 GB, free: 13.53 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.04452/1.12, allocations: 25.94 MB / 1.19 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00776/1.128, allocations: 118 kB / 1.19 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.006426/1.134, allocations: 1.653 MB / 1.192 GB, free: 9.148 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.01421/1.149, allocations: 3.577 MB / 1.195 GB, free: 6.297 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.01034/1.159, allocations: 2.974 MB / 1.198 GB, free: 4.094 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.01452/1.174, allocations: 7.012 MB / 1.205 GB, free: 32 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006636/1.18, allocations: 2.641 MB / 1.208 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01005/1.19, allocations: 3.021 MB / 1.211 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005932/1.196, allocations: 2.238 MB / 1.213 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.00169/1.198, allocations: 318.2 kB / 1.213 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00762/1.206, allocations: 2.163 MB / 1.215 GB, free: 10.01 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.002571/1.208, allocations: 1.278 MB / 1.217 GB, free: 9.129 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.00651/1.215, allocations: 1.993 MB / 1.218 GB, free: 7.762 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.01646/1.231, allocations: 6.094 MB / 1.224 GB, free: 2.762 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/1.231, allocations: 0 / 1.224 GB, free: 2.762 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.635e-06/1.231, allocations: 4 kB / 1.224 GB, free: 2.758 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0002559/1.232, allocations: 0 / 1.224 GB, free: 2.758 MB / 0.9512 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.01491/1.247, allocations: 4.487 MB / 1.229 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.151e-05/1.247, allocations: 8.031 kB / 1.229 GB, free: 14.19 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007137/1.254, allocations: 1.186 MB / 1.23 GB, free: 13 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01111/1.265, allocations: 3.858 MB / 1.234 GB, free: 9.082 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002415/1.265, allocations: 139.1 kB / 1.234 GB, free: 8.945 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009266/1.266, allocations: 179.9 kB / 1.234 GB, free: 8.77 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007394/1.274, allocations: 2.484 MB / 1.236 GB, free: 6.191 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.029e-05/1.274, allocations: 11.94 kB / 1.236 GB, free: 6.18 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004212/1.274, allocations: 67.94 kB / 1.237 GB, free: 6.113 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.995e-05/1.274, allocations: 40 kB / 1.237 GB, free: 6.074 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006491/1.281, allocations: 2.045 MB / 1.239 GB, free: 4.023 MB / 0.9669 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.02542/1.306, allocations: 10.85 MB / 1.249 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006421/1.313, allocations: 1.745 MB / 1.251 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002504/1.315, allocations: 0.8269 MB / 1.252 GB, free: 6 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008517/1.324, allocations: 3.738 MB / 1.255 GB, free: 1.996 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.134e-05/1.324, allocations: 43.22 kB / 1.255 GB, free: 1.945 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=76): time 3.266e-06/1.324, allocations: 0 / 1.255 GB, free: 1.945 MB / 0.9825 GB Notification: Performance of matching and sorting (n=76): time 0.009935/1.334, allocations: 2.807 MB / 1.258 GB, free: 15.1 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.699e-05/1.334, allocations: 60.06 kB / 1.258 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008792/1.343, allocations: 3.737 MB / 1.262 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0006098/1.343, allocations: 45.7 kB / 1.262 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002157/1.346, allocations: 1.584 MB / 1.263 GB, free: 9.621 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006992/1.346, allocations: 264.1 kB / 1.264 GB, free: 9.359 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001345/1.348, allocations: 395.2 kB / 1.264 GB, free: 8.969 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001308/1.348, allocations: 301.1 kB / 1.264 GB, free: 8.672 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003335/1.351, allocations: 1.352 MB / 1.266 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003966/1.355, allocations: 2.055 MB / 1.268 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006889/1.362, allocations: 3.304 MB / 1.271 GB, free: 1.328 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.028e-05/1.362, allocations: 4 kB / 1.271 GB, free: 1.324 MB / 0.9981 GB Notification: Performance of matching and sorting (n=202) (initialization): time 0.009832/1.372, allocations: 3.786 MB / 1.275 GB, free: 13.52 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.106e-05/1.372, allocations: 12 kB / 1.275 GB, free: 13.51 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.932e-05/1.372, allocations: 24 kB / 1.275 GB, free: 13.49 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008314/1.373, allocations: 309.3 kB / 1.275 GB, free: 13.18 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002156/1.375, allocations: 467.2 kB / 1.275 GB, free: 12.73 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009253/1.376, allocations: 0.8137 MB / 1.276 GB, free: 11.89 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003614/1.38, allocations: 322.5 kB / 1.276 GB, free: 11.57 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004899/1.38, allocations: 132 kB / 1.277 GB, free: 11.44 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004441/1.385, allocations: 1.812 MB / 1.278 GB, free: 9.625 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003281/1.388, allocations: 1.825 MB / 1.28 GB, free: 7.473 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005492/1.394, allocations: 2.847 MB / 1.283 GB, free: 4.332 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.735e-05/1.394, allocations: 8 kB / 1.283 GB, free: 4.324 MB / 1.014 GB Notification: Performance of matching and sorting (n=202) (initialization_lambda0): time 0.008445/1.402, allocations: 3.337 MB / 1.286 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.939e-05/1.402, allocations: 16.78 kB / 1.286 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.231e-05/1.402, allocations: 23.94 kB / 1.286 GB, free: 0.9375 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001041/1.403, allocations: 400.6 kB / 1.287 GB, free: 0.543 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001876/1.405, allocations: 435.3 kB / 1.287 GB, free: 120 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00725/1.412, allocations: 5.012 MB / 1.292 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0036/1.416, allocations: 243.4 kB / 1.292 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006288/1.417, allocations: 120 kB / 1.292 GB, free: 10.54 MB / 1.029 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 (177): * Single equations (assignments): 173 * 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.001114/1.418, allocations: 295.5 kB / 1.293 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001523/1.419, allocations: 323.8 kB / 1.293 GB, free: 9.926 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007794/1.427, allocations: 2.432 MB / 1.295 GB, free: 7.473 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.883e-05/1.427, allocations: 12 kB / 1.295 GB, free: 7.461 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/1.427, allocations: 7.969 kB / 1.295 GB, free: 7.453 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.47e-05/1.427, allocations: 3.984 kB / 1.295 GB, free: 7.449 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01336/1.441, allocations: 4.602 MB / 1.3 GB, free: 2.766 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.447e-05/1.441, allocations: 0 / 1.3 GB, free: 2.766 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001551/1.442, allocations: 283.7 kB / 1.3 GB, free: 2.488 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000414/1.443, allocations: 148.6 kB / 1.3 GB, free: 2.34 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001392/1.443, allocations: 31.97 kB / 1.3 GB, free: 2.309 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008204/1.444, allocations: 0.728 MB / 1.301 GB, free: 1.555 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/1.444, allocations: 4 kB / 1.301 GB, free: 1.551 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009337/1.453, allocations: 3.359 MB / 1.304 GB, free: 14.15 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001885/1.455, allocations: 0.5823 MB / 1.305 GB, free: 13.55 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001097/1.456, allocations: 19.94 kB / 1.305 GB, free: 13.53 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002533/1.459, allocations: 159.8 kB / 1.305 GB, free: 13.37 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001808/1.459, allocations: 64.91 kB / 1.305 GB, free: 13.31 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001668/1.459, allocations: 51.95 kB / 1.305 GB, free: 13.26 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.00618/1.465, allocations: 2.57 MB / 1.308 GB, free: 10.68 MB / 1.045 GB Notification: Performance of sort global known variables: time 3.11e-07/1.465, allocations: 0 / 1.308 GB, free: 10.68 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.008185/1.473, allocations: 1.513 MB / 1.309 GB, free: 9.16 MB / 1.045 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 (90): * Single equations (assignments): 81 * 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.002584/1.476, allocations: 0.6699 MB / 1.31 GB, free: 8.492 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.01121/1.487, allocations: 4.195 MB / 1.314 GB, free: 4.293 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/1.487, allocations: 0 / 1.314 GB, free: 4.293 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.002971/1.49, allocations: 0.9399 MB / 1.315 GB, free: 3.355 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009629/1.5, allocations: 1.732 MB / 1.316 GB, free: 1.641 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01598/1.516, allocations: 5.858 MB / 1.322 GB, free: 11.73 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003321/1.519, allocations: 2.087 MB / 1.324 GB, free: 9.621 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001507/1.521, allocations: 271.3 kB / 1.324 GB, free: 9.355 MB / 1.061 GB Notification: Performance of SimCode: time 2.094e-06/1.521, allocations: 0 / 1.324 GB, free: 9.355 MB / 1.061 GB Notification: Performance of Templates: time 0.1195/1.64, allocations: 74.96 MB / 1.398 GB, free: 15 MB / 1.139 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches