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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001688/0.001688, allocations: 112.6 kB / 16.37 MB, free: 6 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.00183/0.00183, allocations: 196 kB / 17.31 MB, free: 5.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.376/1.376, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.425/2.425, allocations: 437.1 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 62.72 kB / 0.8707 GB, free: 1.48 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3065/0.3079, allocations: 151.6 MB / 1.019 GB, free: 9.879 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PumpCurveDerivatives): time 0.6254/0.9333, allocations: 79.35 MB / 1.096 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.04658/0.9799, allocations: 28.42 MB / 1.124 GB, free: 3.203 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006817/0.9868, allocations: 121.9 kB / 1.124 GB, free: 3.164 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.02181/1.009, allocations: 11.46 MB / 1.135 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.01316/1.022, allocations: 3.771 MB / 1.139 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.009141/1.031, allocations: 3.108 MB / 1.142 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.03552/1.066, allocations: 22.34 MB / 1.164 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004851/1.071, allocations: 2.719 MB / 1.167 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007958/1.079, allocations: 3.082 MB / 1.17 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005101/1.084, allocations: 2.534 MB / 1.172 GB, free: 12.01 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.00126/1.086, allocations: 364 kB / 1.172 GB, free: 11.65 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006928/1.093, allocations: 2.356 MB / 1.175 GB, free: 9.293 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.002134/1.095, allocations: 1.803 MB / 1.176 GB, free: 7.484 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.004738/1.1, allocations: 2.627 MB / 1.179 GB, free: 4.844 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.01359/1.113, allocations: 7.808 MB / 1.187 GB, free: 13.01 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 8.486e-06/1.113, allocations: 0 / 1.187 GB, free: 13.01 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.914e-06/1.113, allocations: 0 / 1.187 GB, free: 13.01 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0002079/1.114, allocations: 0 / 1.187 GB, free: 13.01 MB / 0.8887 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.01444/1.128, allocations: 5.803 MB / 1.192 GB, free: 7.109 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/1.128, allocations: 8.625 kB / 1.192 GB, free: 7.102 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00857/1.137, allocations: 1.543 MB / 1.194 GB, free: 5.551 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01488/1.152, allocations: 7.244 MB / 1.201 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001684/1.152, allocations: 139.2 kB / 1.201 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005217/1.152, allocations: 188 kB / 1.201 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005209/1.157, allocations: 2.607 MB / 1.204 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.319e-05/1.158, allocations: 3.938 kB / 1.204 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001804/1.158, allocations: 64 kB / 1.204 GB, free: 11.15 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.563e-05/1.158, allocations: 43.94 kB / 1.204 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005167/1.163, allocations: 2.018 MB / 1.206 GB, free: 9.086 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 preOpt removeSimpleEquations (simulation): time 0.0195/1.182, allocations: 11.69 MB / 1.217 GB, free: 12.8 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004683/1.187, allocations: 1.716 MB / 1.219 GB, free: 11.09 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00191/1.189, allocations: 0.7967 MB / 1.22 GB, free: 10.28 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007291/1.196, allocations: 4.065 MB / 1.224 GB, free: 5.945 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/1.196, allocations: 39.22 kB / 1.224 GB, free: 5.895 MB / 0.92 GB Notification: Performance of pre-optimization done (n=82): time 2.405e-06/1.196, allocations: 4 kB / 1.224 GB, free: 5.891 MB / 0.92 GB Notification: Performance of matching and sorting (n=82): time 0.00745/1.204, allocations: 2.786 MB / 1.226 GB, free: 3.074 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.228e-05/1.204, allocations: 60.06 kB / 1.226 GB, free: 3.004 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007716/1.212, allocations: 5.486 MB / 1.232 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0003405/1.212, allocations: 57.7 kB / 1.232 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.001748/1.214, allocations: 2.034 MB / 1.234 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004625/1.214, allocations: 307.9 kB / 1.234 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009863/1.215, allocations: 0.701 MB / 1.235 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.698e-05/1.215, allocations: 305.1 kB / 1.235 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003399/1.219, allocations: 2.028 MB / 1.237 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004233/1.223, allocations: 2.918 MB / 1.24 GB, free: 4.805 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00713/1.23, allocations: 4.577 MB / 1.244 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.162e-05/1.23, allocations: 8 kB / 1.244 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of matching and sorting (n=402) (initialization): time 0.009744/1.24, allocations: 5.599 MB / 1.25 GB, free: 10.31 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.236e-05/1.24, allocations: 12 kB / 1.25 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.739e-05/1.24, allocations: 20 kB / 1.25 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008091/1.241, allocations: 409.2 kB / 1.25 GB, free: 9.875 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002331/1.243, allocations: 0.5889 MB / 1.251 GB, free: 9.285 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008695/1.244, allocations: 0.9035 MB / 1.252 GB, free: 8.355 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003639/1.248, allocations: 393.5 kB / 1.252 GB, free: 7.969 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003149/1.248, allocations: 155.9 kB / 1.252 GB, free: 7.816 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004619/1.253, allocations: 2.848 MB / 1.255 GB, free: 4.961 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003533/1.256, allocations: 2.691 MB / 1.258 GB, free: 1.922 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005928/1.262, allocations: 4.137 MB / 1.262 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.243e-05/1.262, allocations: 4 kB / 1.262 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of matching and sorting (n=402) (initialization_lambda0): time 0.008821/1.271, allocations: 5.166 MB / 1.267 GB, free: 8.289 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.489e-05/1.271, allocations: 18.33 kB / 1.267 GB, free: 8.273 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.424e-05/1.271, allocations: 24 kB / 1.267 GB, free: 8.25 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001008/1.272, allocations: 444.5 kB / 1.267 GB, free: 7.812 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002113/1.274, allocations: 0.5694 MB / 1.268 GB, free: 7.242 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00765/1.282, allocations: 6.113 MB / 1.274 GB, free: 0.9219 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003647/1.286, allocations: 318.7 kB / 1.274 GB, free: 0.6094 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003637/1.286, allocations: 147.9 kB / 1.274 GB, free: 476 kB / 0.9669 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.0005462/1.287, allocations: 311.5 kB / 1.275 GB, free: 156 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000981/1.288, allocations: 438.3 kB / 1.275 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006432/1.294, allocations: 2.473 MB / 1.277 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.169e-05/1.294, allocations: 19.98 kB / 1.277 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/1.294, allocations: 0 / 1.277 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.245e-05/1.294, allocations: 3.984 kB / 1.277 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0131/1.307, allocations: 5.14 MB / 1.282 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-05/1.307, allocations: 0 / 1.282 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001951/1.309, allocations: 267.7 kB / 1.283 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004929/1.31, allocations: 160.7 kB / 1.283 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001374/1.31, allocations: 31.97 kB / 1.283 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000932/1.311, allocations: 0.8098 MB / 1.284 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/1.311, allocations: 8.062 kB / 1.284 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0111/1.322, allocations: 3.408 MB / 1.287 GB, free: 3.242 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003513/1.326, allocations: 0.7525 MB / 1.288 GB, free: 2.465 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009839/1.327, allocations: 16 kB / 1.288 GB, free: 2.449 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00229/1.329, allocations: 139.9 kB / 1.288 GB, free: 2.312 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000162/1.329, allocations: 64.91 kB / 1.288 GB, free: 2.246 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001576/1.329, allocations: 63.88 kB / 1.288 GB, free: 2.184 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.00737/1.337, allocations: 3.711 MB / 1.292 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.342e-06/1.337, allocations: 0 / 1.292 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.008257/1.345, allocations: 1.931 MB / 1.293 GB, free: 12.57 MB / 0.9981 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.002618/1.348, allocations: 0.7892 MB / 1.294 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01452/1.362, allocations: 5.763 MB / 1.3 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.148e-06/1.362, allocations: 0 / 1.3 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00231/1.364, allocations: 0.8842 MB / 1.301 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009964/1.374, allocations: 2.417 MB / 1.303 GB, free: 2.766 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0174/1.392, allocations: 7.835 MB / 1.311 GB, free: 10.89 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00267/1.395, allocations: 2.675 MB / 1.313 GB, free: 8.184 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.005117/1.4, allocations: 1.202 MB / 1.315 GB, free: 6.977 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001121/1.401, allocations: 351.2 kB / 1.315 GB, free: 6.633 MB / 1.014 GB Notification: Performance of SimCode: time 1.112e-06/1.401, allocations: 0 / 1.315 GB, free: 6.633 MB / 1.014 GB Notification: Performance of Templates: time 0.1553/1.556, allocations: 94.1 MB / 1.407 GB, free: 9.938 MB / 1.107 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches