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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001367/0.001367, allocations: 112.1 kB / 16.37 MB, free: 6.008 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.00149/0.00149, allocations: 192.3 kB / 17.3 MB, free: 5.617 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.333/1.333, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.416/2.416, allocations: 442.6 MB / 0.7165 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002039/0.002039, allocations: 61.28 kB / 0.8773 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2801/0.2822, allocations: 153 MB / 1.027 GB, free: 2.043 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PumpCurveDerivatives): time 0.596/0.8782, allocations: 79.36 MB / 1.104 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.05654/0.9348, allocations: 28.4 MB / 1.132 GB, free: 9.859 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00776/0.9426, allocations: 122.2 kB / 1.132 GB, free: 9.82 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.03218/0.975, allocations: 11.47 MB / 1.143 GB, free: 6.387 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.01507/0.9901, allocations: 3.761 MB / 1.147 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.01221/1.002, allocations: 3.113 MB / 1.15 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.04965/1.052, allocations: 22.36 MB / 1.172 GB, free: 7.398 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006071/1.058, allocations: 2.713 MB / 1.174 GB, free: 5.605 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009077/1.067, allocations: 3.082 MB / 1.177 GB, free: 3.02 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004817/1.072, allocations: 2.53 MB / 1.18 GB, free: 492 kB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.001122/1.073, allocations: 364 kB / 1.18 GB, free: 128 kB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00622/1.079, allocations: 2.348 MB / 1.183 GB, free: 13.77 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.002164/1.082, allocations: 1.803 MB / 1.184 GB, free: 11.96 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.004127/1.086, allocations: 2.627 MB / 1.187 GB, free: 9.324 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.01137/1.097, allocations: 7.801 MB / 1.195 GB, free: 1.5 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/1.097, allocations: 3.938 kB / 1.195 GB, free: 1.496 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.522e-06/1.097, allocations: 0 / 1.195 GB, free: 1.496 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0001665/1.097, allocations: 0 / 1.195 GB, free: 1.496 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.01248/1.11, allocations: 5.792 MB / 1.2 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/1.11, allocations: 8.031 kB / 1.2 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008666/1.119, allocations: 1.547 MB / 1.202 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01509/1.134, allocations: 7.252 MB / 1.209 GB, free: 2.723 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001954/1.134, allocations: 139.2 kB / 1.209 GB, free: 2.586 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006439/1.135, allocations: 191.9 kB / 1.209 GB, free: 2.398 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005812/1.14, allocations: 2.611 MB / 1.212 GB, free: 15.69 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.582e-05/1.14, allocations: 0 / 1.212 GB, free: 15.69 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002314/1.141, allocations: 68 kB / 1.212 GB, free: 15.62 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-05/1.141, allocations: 43.94 kB / 1.212 GB, free: 15.58 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005413/1.146, allocations: 2.014 MB / 1.214 GB, free: 13.56 MB / 0.92 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.01889/1.165, allocations: 11.68 MB / 1.225 GB, free: 1.285 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004906/1.17, allocations: 1.721 MB / 1.227 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002013/1.172, allocations: 0.8013 MB / 1.228 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00722/1.179, allocations: 4.057 MB / 1.232 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.931e-05/1.179, allocations: 43.22 kB / 1.232 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=82): time 2.395e-06/1.179, allocations: 0 / 1.232 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of matching and sorting (n=82): time 0.00796/1.187, allocations: 2.786 MB / 1.234 GB, free: 7.555 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.36e-05/1.187, allocations: 60.06 kB / 1.234 GB, free: 7.48 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01024/1.198, allocations: 5.494 MB / 1.24 GB, free: 2.008 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.000549/1.198, allocations: 53.7 kB / 1.24 GB, free: 1.949 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.002309/1.201, allocations: 2.031 MB / 1.242 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005162/1.201, allocations: 319.7 kB / 1.242 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001378/1.202, allocations: 0.701 MB / 1.243 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 8.878e-05/1.203, allocations: 301.1 kB / 1.243 GB, free: 14.58 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003513/1.206, allocations: 2.032 MB / 1.245 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004147/1.21, allocations: 2.912 MB / 1.248 GB, free: 9.273 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007141/1.217, allocations: 4.581 MB / 1.252 GB, free: 4.402 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-05/1.217, allocations: 8 kB / 1.252 GB, free: 4.395 MB / 0.9512 GB Notification: Performance of matching and sorting (n=402) (initialization): time 0.01008/1.228, allocations: 5.592 MB / 1.258 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.239e-05/1.228, allocations: 12 kB / 1.258 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.79e-05/1.228, allocations: 24 kB / 1.258 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008375/1.228, allocations: 410.8 kB / 1.258 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002658/1.231, allocations: 0.5811 MB / 1.259 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001133/1.232, allocations: 0.9035 MB / 1.26 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004393/1.237, allocations: 401.2 kB / 1.26 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004756/1.237, allocations: 151.9 kB / 1.26 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005347/1.243, allocations: 2.852 MB / 1.263 GB, free: 9.434 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004034/1.247, allocations: 2.687 MB / 1.266 GB, free: 6.398 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006544/1.253, allocations: 4.141 MB / 1.27 GB, free: 1.961 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.8e-05/1.253, allocations: 7.938 kB / 1.27 GB, free: 1.953 MB / 0.9669 GB Notification: Performance of matching and sorting (n=402) (initialization_lambda0): time 0.01026/1.263, allocations: 5.151 MB / 1.275 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.929e-05/1.264, allocations: 12 kB / 1.275 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.856e-05/1.264, allocations: 24 kB / 1.275 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001073/1.265, allocations: 448.5 kB / 1.275 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002353/1.267, allocations: 0.5694 MB / 1.276 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008259/1.275, allocations: 6.136 MB / 1.282 GB, free: 5.383 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003774/1.279, allocations: 315.4 kB / 1.282 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005154/1.28, allocations: 136 kB / 1.282 GB, free: 4.941 MB / 0.9825 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.0007373/1.28, allocations: 315.5 kB / 1.282 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001347/1.282, allocations: 438.1 kB / 1.283 GB, free: 4.191 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006719/1.288, allocations: 2.48 MB / 1.285 GB, free: 1.691 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.852e-05/1.289, allocations: 12 kB / 1.285 GB, free: 1.68 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.309e-06/1.289, allocations: 0 / 1.285 GB, free: 1.68 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.389e-05/1.289, allocations: 7.969 kB / 1.285 GB, free: 1.672 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01234/1.301, allocations: 5.129 MB / 1.29 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.175e-06/1.301, allocations: 0 / 1.29 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001569/1.303, allocations: 267.8 kB / 1.291 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004062/1.303, allocations: 160.7 kB / 1.291 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001169/1.303, allocations: 39.95 kB / 1.291 GB, free: 12 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006569/1.304, allocations: 0.8098 MB / 1.292 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/1.304, allocations: 4.062 kB / 1.292 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008166/1.312, allocations: 3.404 MB / 1.295 GB, free: 7.723 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00231/1.314, allocations: 0.7486 MB / 1.296 GB, free: 6.949 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001102/1.315, allocations: 16 kB / 1.296 GB, free: 6.934 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002645/1.318, allocations: 139.8 kB / 1.296 GB, free: 6.797 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001623/1.318, allocations: 72.78 kB / 1.296 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001527/1.318, allocations: 55.95 kB / 1.296 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.007193/1.326, allocations: 3.719 MB / 1.3 GB, free: 2.977 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.31e-07/1.326, allocations: 3.938 kB / 1.3 GB, free: 2.973 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.007096/1.333, allocations: 1.919 MB / 1.301 GB, free: 1.051 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.002373/1.335, allocations: 0.8036 MB / 1.302 GB, free: 248 kB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01102/1.346, allocations: 5.765 MB / 1.308 GB, free: 10.48 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/1.346, allocations: 0 / 1.308 GB, free: 10.48 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.002371/1.349, allocations: 0.8803 MB / 1.309 GB, free: 9.598 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01128/1.36, allocations: 2.415 MB / 1.311 GB, free: 7.246 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01708/1.377, allocations: 7.839 MB / 1.319 GB, free: 15.37 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003259/1.38, allocations: 2.671 MB / 1.321 GB, free: 12.67 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.00501/1.385, allocations: 1.204 MB / 1.322 GB, free: 11.46 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001296/1.387, allocations: 355.2 kB / 1.323 GB, free: 11.11 MB / 1.029 GB Notification: Performance of SimCode: time 7.21e-07/1.387, allocations: 0 / 1.323 GB, free: 11.11 MB / 1.029 GB Notification: Performance of Templates: time 0.1421/1.529, allocations: 94.09 MB / 1.415 GB, free: 14.28 MB / 1.123 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 -s gbode -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