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.0012/0.0012, allocations: 109.4 kB / 15.99 MB, free: 6.359 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.001233/0.001233, allocations: 194.5 kB / 16.91 MB, free: 6.195 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.343/1.343, allocations: 222.9 MB / 240.6 MB, free: 15.42 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.347/2.347, allocations: 390.3 MB / 0.665 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002511/0.002511, allocations: 65.53 kB / 0.8127 GB, free: 33.27 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3657/0.3682, allocations: 140.4 MB / 0.9498 GB, free: 9.215 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PumpCurveDerivatives): time 0.08185/0.4501, allocations: 77.34 MB / 1.025 GB, free: 11.61 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.04042/0.4906, allocations: 25.73 MB / 1.05 GB, free: 1.805 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006622/0.4973, allocations: 107.4 kB / 1.051 GB, free: 1.699 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.006172/0.5035, allocations: 1.461 MB / 1.052 GB, free: 236 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.01188/0.5155, allocations: 3.236 MB / 1.055 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.008773/0.5243, allocations: 2.705 MB / 1.058 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.01286/0.5371, allocations: 7.107 MB / 1.065 GB, free: 3.168 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005461/0.5427, allocations: 2.659 MB / 1.067 GB, free: 456 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009599/0.5523, allocations: 2.991 MB / 1.07 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005593/0.5579, allocations: 2.377 MB / 1.073 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.001213/0.5592, allocations: 316 kB / 1.073 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00609/0.5653, allocations: 2.176 MB / 1.075 GB, free: 8.578 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.002059/0.5674, allocations: 1.297 MB / 1.076 GB, free: 7.277 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.004441/0.5718, allocations: 1.998 MB / 1.078 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.008421/0.5803, allocations: 4.775 MB / 1.083 GB, free: 496 kB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.5803, allocations: 4 kB / 1.083 GB, free: 492 kB / 0.8575 GB Notification: Performance of FrontEnd: time 3.447e-06/0.5803, allocations: 0 / 1.083 GB, free: 492 kB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.000154/0.5805, allocations: 0 / 1.083 GB, free: 492 kB / 0.8575 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.5888/1.169, allocations: 4.494 MB / 1.087 GB, free: 131.1 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.274e-05/1.169, allocations: 9.844 kB / 1.087 GB, free: 131.1 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007011/1.176, allocations: 1.182 MB / 1.088 GB, free: 130.9 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009833/1.186, allocations: 3.884 MB / 1.092 GB, free: 129 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001057/1.187, allocations: 304.4 kB / 1.092 GB, free: 128.9 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005376/1.188, allocations: 177.8 kB / 1.093 GB, free: 128.9 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006044/1.194, allocations: 2.506 MB / 1.095 GB, free: 127.9 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.761e-05/1.194, allocations: 5.938 kB / 1.095 GB, free: 127.9 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001705/1.194, allocations: 62.78 kB / 1.095 GB, free: 127.9 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.012e-05/1.194, allocations: 41.78 kB / 1.095 GB, free: 127.9 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006175/1.2, allocations: 2.103 MB / 1.097 GB, free: 127.2 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.01916/1.22, allocations: 10.7 MB / 1.108 GB, free: 120.3 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00557/1.225, allocations: 1.839 MB / 1.109 GB, free: 119.7 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002343/1.228, allocations: 0.8734 MB / 1.11 GB, free: 119.5 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007498/1.235, allocations: 3.813 MB / 1.114 GB, free: 116.9 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/1.235, allocations: 43.64 kB / 1.114 GB, free: 116.8 MB / 0.8575 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001623/1.237, allocations: 151.4 kB / 1.114 GB, free: 116.7 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=79): time 5.952e-06/1.237, allocations: 1.312 kB / 1.114 GB, free: 116.7 MB / 0.8575 GB Notification: Performance of matching and sorting (n=79): time 0.008973/1.246, allocations: 2.942 MB / 1.117 GB, free: 115.7 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.952e-05/1.246, allocations: 60.28 kB / 1.117 GB, free: 115.7 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01049/1.256, allocations: 3.7 MB / 1.121 GB, free: 113.8 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0005339/1.257, allocations: 47.89 kB / 1.121 GB, free: 113.8 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.001384/1.258, allocations: 1.579 MB / 1.122 GB, free: 112.4 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.000481/1.259, allocations: 280.1 kB / 1.123 GB, free: 112.2 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001101/1.26, allocations: 395.2 kB / 1.123 GB, free: 112 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.334e-05/1.26, allocations: 302.5 kB / 1.123 GB, free: 111.7 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003044/1.263, allocations: 1.393 MB / 1.125 GB, free: 111 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003697/1.267, allocations: 2.097 MB / 1.127 GB, free: 109.4 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006519/1.273, allocations: 3.391 MB / 1.13 GB, free: 107.2 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.401e-05/1.273, allocations: 10.25 kB / 1.13 GB, free: 107.2 MB / 0.8575 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.009423/1.283, allocations: 3.873 MB / 1.134 GB, free: 105.3 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.577e-05/1.283, allocations: 13.31 kB / 1.134 GB, free: 105.3 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.117e-05/1.283, allocations: 21.41 kB / 1.134 GB, free: 105.3 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008041/1.284, allocations: 312.9 kB / 1.134 GB, free: 105.2 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002137/1.286, allocations: 476.5 kB / 1.135 GB, free: 105 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007753/1.287, allocations: 0.8194 MB / 1.135 GB, free: 104.4 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004021/1.291, allocations: 250.4 kB / 1.136 GB, free: 104.3 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003629/1.291, allocations: 143.6 kB / 1.136 GB, free: 104.2 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004361/1.295, allocations: 1.847 MB / 1.138 GB, free: 103.2 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002622/1.298, allocations: 1.876 MB / 1.139 GB, free: 101.7 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004691/1.303, allocations: 2.935 MB / 1.142 GB, free: 99.76 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.939e-05/1.303, allocations: 7.938 kB / 1.142 GB, free: 99.76 MB / 0.8575 GB Notification: Performance of matching and sorting (n=205) (initialization_lambda0): time 0.00734/1.31, allocations: 3.418 MB / 1.146 GB, free: 97.89 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.883e-05/1.31, allocations: 12 kB / 1.146 GB, free: 97.88 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.907e-05/1.31, allocations: 23.94 kB / 1.146 GB, free: 97.86 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001031/1.311, allocations: 397.3 kB / 1.146 GB, free: 97.47 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001721/1.313, allocations: 455.2 kB / 1.146 GB, free: 97.02 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00612/1.319, allocations: 5.054 MB / 1.151 GB, free: 91.76 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004054/1.323, allocations: 249.3 kB / 1.152 GB, free: 91.52 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004594/1.324, allocations: 124 kB / 1.152 GB, free: 91.4 MB / 0.8575 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.001012/1.325, allocations: 288.2 kB / 1.152 GB, free: 91.11 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00156/1.326, allocations: 323.8 kB / 1.152 GB, free: 90.79 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007386/1.334, allocations: 2.539 MB / 1.155 GB, free: 88.25 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-05/1.334, allocations: 12 kB / 1.155 GB, free: 88.23 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/1.334, allocations: 0 / 1.155 GB, free: 88.23 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.593e-05/1.334, allocations: 7.984 kB / 1.155 GB, free: 88.23 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01258/1.346, allocations: 4.729 MB / 1.159 GB, free: 83.45 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.246e-06/1.346, allocations: 0 / 1.159 GB, free: 83.45 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00191/1.348, allocations: 303.7 kB / 1.16 GB, free: 83.15 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003704/1.349, allocations: 136.7 kB / 1.16 GB, free: 83.02 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001298/1.349, allocations: 35.97 kB / 1.16 GB, free: 82.98 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004986/1.349, allocations: 0.7356 MB / 1.161 GB, free: 82.22 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/1.349, allocations: 4 kB / 1.161 GB, free: 82.21 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00838/1.358, allocations: 3.519 MB / 1.164 GB, free: 78.66 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002303/1.36, allocations: 0.5707 MB / 1.165 GB, free: 78.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001335/1.361, allocations: 20 kB / 1.165 GB, free: 78.05 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003068/1.365, allocations: 219.7 kB / 1.165 GB, free: 77.83 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002606/1.365, allocations: 68.84 kB / 1.165 GB, free: 77.77 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002419/1.365, allocations: 59.89 kB / 1.165 GB, free: 77.71 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.004992/1.37, allocations: 2.538 MB / 1.167 GB, free: 75.16 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.71e-07/1.37, allocations: 0 / 1.167 GB, free: 75.16 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.007054/1.377, allocations: 1.524 MB / 1.169 GB, free: 73.63 MB / 0.8575 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 (95): * Single equations (assignments): 86 * 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.002111/1.379, allocations: 0.6368 MB / 1.17 GB, free: 73.04 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.01077/1.39, allocations: 4.391 MB / 1.174 GB, free: 68.65 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.049e-05/1.39, allocations: 4 kB / 1.174 GB, free: 68.64 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.002581/1.393, allocations: 0.9825 MB / 1.175 GB, free: 67.66 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009596/1.402, allocations: 1.749 MB / 1.177 GB, free: 65.98 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01534/1.418, allocations: 7.077 MB / 1.183 GB, free: 58.86 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00247/1.42, allocations: 2.098 MB / 1.186 GB, free: 56.73 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001575/1.422, allocations: 271.2 kB / 1.186 GB, free: 56.47 MB / 0.8575 GB Notification: Performance of SimCode: time 1.102e-06/1.422, allocations: 0 / 1.186 GB, free: 56.47 MB / 0.8575 GB Notification: Performance of Templates: time 0.1043/1.526, allocations: 74.31 MB / 1.258 GB, free: 14.78 MB / 0.8887 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