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.001537/0.001537, allocations: 102.1 kB / 16.35 MB, free: 6.289 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.001721/0.001722, allocations: 193.4 kB / 17.3 MB, free: 5.859 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.453/1.453, 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.458/2.458, allocations: 442.6 MB / 0.7165 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 68.02 kB / 0.8773 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3416/0.3431, allocations: 153 MB / 1.027 GB, free: 2.102 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PumpCurveDerivatives): time 0.6001/0.9432, allocations: 79.37 MB / 1.104 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.05584/0.9991, allocations: 28.39 MB / 1.132 GB, free: 9.91 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00832/1.007, allocations: 123 kB / 1.132 GB, free: 9.871 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.03189/1.04, allocations: 11.46 MB / 1.143 GB, free: 6.438 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.01454/1.054, allocations: 3.769 MB / 1.147 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00968/1.064, allocations: 3.112 MB / 1.15 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.03935/1.103, allocations: 22.37 MB / 1.172 GB, free: 7.473 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005829/1.109, allocations: 2.705 MB / 1.174 GB, free: 5.684 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009259/1.118, allocations: 3.087 MB / 1.177 GB, free: 3.117 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005713/1.124, allocations: 2.542 MB / 1.18 GB, free: 0.5664 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.001205/1.125, allocations: 364 kB / 1.18 GB, free: 216 kB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007107/1.132, allocations: 2.348 MB / 1.183 GB, free: 13.86 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.00247/1.135, allocations: 1.792 MB / 1.184 GB, free: 12.06 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.005118/1.14, allocations: 2.631 MB / 1.187 GB, free: 9.418 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.01331/1.153, allocations: 7.796 MB / 1.195 GB, free: 1.598 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/1.153, allocations: 0 / 1.195 GB, free: 1.598 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.923e-06/1.153, allocations: 0 / 1.195 GB, free: 1.598 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.000171/1.154, allocations: 0 / 1.195 GB, free: 1.598 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.01375/1.167, allocations: 5.8 MB / 1.2 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/1.167, allocations: 8.031 kB / 1.2 GB, free: 11.69 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00882/1.176, allocations: 1.551 MB / 1.202 GB, free: 10.13 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01549/1.192, allocations: 7.241 MB / 1.209 GB, free: 2.824 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001779/1.192, allocations: 139.2 kB / 1.209 GB, free: 2.688 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000511/1.193, allocations: 184 kB / 1.209 GB, free: 2.508 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005378/1.198, allocations: 2.611 MB / 1.212 GB, free: 15.8 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.101e-05/1.198, allocations: 0 / 1.212 GB, free: 15.8 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001836/1.198, allocations: 68 kB / 1.212 GB, free: 15.73 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.716e-05/1.198, allocations: 47.88 kB / 1.212 GB, free: 15.68 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005279/1.204, allocations: 2.018 MB / 1.214 GB, free: 13.66 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.01973/1.223, allocations: 11.69 MB / 1.225 GB, free: 1.383 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004752/1.228, allocations: 1.721 MB / 1.227 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002007/1.23, allocations: 0.7951 MB / 1.228 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008539/1.239, allocations: 4.061 MB / 1.232 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.491e-05/1.239, allocations: 47.25 kB / 1.232 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=82): time 2.956e-06/1.239, allocations: 0 / 1.232 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of matching and sorting (n=82): time 0.008502/1.247, allocations: 2.782 MB / 1.234 GB, free: 7.656 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.478e-05/1.247, allocations: 60.06 kB / 1.234 GB, free: 7.582 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009905/1.257, allocations: 5.498 MB / 1.24 GB, free: 2.105 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0006688/1.258, allocations: 49.7 kB / 1.24 GB, free: 2.051 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.00228/1.26, allocations: 2.042 MB / 1.242 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006272/1.261, allocations: 307.7 kB / 1.242 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001269/1.262, allocations: 0.7049 MB / 1.243 GB, free: 14.97 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001244/1.262, allocations: 301.1 kB / 1.243 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003608/1.266, allocations: 2.039 MB / 1.245 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004227/1.27, allocations: 2.899 MB / 1.248 GB, free: 9.375 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007256/1.277, allocations: 4.589 MB / 1.252 GB, free: 4.496 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-05/1.277, allocations: 11.94 kB / 1.252 GB, free: 4.484 MB / 0.9512 GB Notification: Performance of matching and sorting (n=402) (initialization): time 0.0105/1.288, allocations: 5.588 MB / 1.258 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.242e-05/1.288, allocations: 12.22 kB / 1.258 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.896e-05/1.288, allocations: 28 kB / 1.258 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009056/1.289, allocations: 412.6 kB / 1.258 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002363/1.291, allocations: 0.585 MB / 1.259 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009408/1.292, allocations: 0.8957 MB / 1.26 GB, free: 12.92 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004018/1.296, allocations: 397.2 kB / 1.26 GB, free: 12.53 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004051/1.297, allocations: 155.9 kB / 1.26 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005498/1.302, allocations: 2.852 MB / 1.263 GB, free: 9.52 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003903/1.306, allocations: 2.687 MB / 1.266 GB, free: 6.484 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006926/1.313, allocations: 4.141 MB / 1.27 GB, free: 2.047 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.516e-05/1.313, allocations: 4 kB / 1.27 GB, free: 2.043 MB / 0.9669 GB Notification: Performance of matching and sorting (n=402) (initialization_lambda0): time 0.01059/1.324, allocations: 5.154 MB / 1.275 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.694e-05/1.324, allocations: 12 kB / 1.275 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.212e-05/1.324, allocations: 24 kB / 1.275 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001076/1.325, allocations: 453.2 kB / 1.275 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002249/1.327, allocations: 0.5616 MB / 1.276 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008352/1.336, allocations: 6.121 MB / 1.282 GB, free: 5.492 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004297/1.34, allocations: 315.2 kB / 1.282 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004197/1.34, allocations: 144 kB / 1.282 GB, free: 5.043 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.0006778/1.341, allocations: 319.5 kB / 1.282 GB, free: 4.723 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001101/1.342, allocations: 438.1 kB / 1.283 GB, free: 4.289 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006376/1.349, allocations: 2.477 MB / 1.285 GB, free: 1.793 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.936e-05/1.349, allocations: 16 kB / 1.285 GB, free: 1.777 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/1.349, allocations: 4 kB / 1.285 GB, free: 1.773 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.505e-05/1.349, allocations: 7.969 kB / 1.285 GB, free: 1.766 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01136/1.36, allocations: 5.125 MB / 1.29 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.875e-06/1.36, allocations: 0 / 1.29 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001452/1.362, allocations: 267.8 kB / 1.291 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004105/1.362, allocations: 160.7 kB / 1.291 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.455e-05/1.362, allocations: 35.97 kB / 1.291 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007532/1.363, allocations: 0.8137 MB / 1.292 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.122e-06/1.363, allocations: 8.047 kB / 1.292 GB, free: 11.26 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008566/1.371, allocations: 3.404 MB / 1.295 GB, free: 7.816 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003024/1.375, allocations: 0.7525 MB / 1.296 GB, free: 7.039 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007531/1.375, allocations: 16 kB / 1.296 GB, free: 7.023 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002147/1.377, allocations: 139.8 kB / 1.296 GB, free: 6.887 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001847/1.378, allocations: 68.84 kB / 1.296 GB, free: 6.816 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001581/1.378, allocations: 59.89 kB / 1.296 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.006431/1.384, allocations: 3.715 MB / 1.3 GB, free: 3.07 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.4e-07/1.384, allocations: 0 / 1.3 GB, free: 3.07 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.007441/1.392, allocations: 1.919 MB / 1.301 GB, free: 1.148 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.001849/1.394, allocations: 0.808 MB / 1.302 GB, free: 348 kB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01137/1.405, allocations: 5.768 MB / 1.308 GB, free: 10.57 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/1.405, allocations: 0 / 1.308 GB, free: 10.57 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.002466/1.408, allocations: 0.8803 MB / 1.309 GB, free: 9.691 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009711/1.417, allocations: 2.415 MB / 1.311 GB, free: 7.336 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01692/1.434, allocations: 7.831 MB / 1.319 GB, free: 15.46 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002484/1.437, allocations: 2.675 MB / 1.321 GB, free: 12.76 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.004869/1.442, allocations: 1.2 MB / 1.322 GB, free: 11.55 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001124/1.443, allocations: 355.2 kB / 1.323 GB, free: 11.21 MB / 1.029 GB Notification: Performance of SimCode: time 8.41e-07/1.443, allocations: 3.938 kB / 1.323 GB, free: 11.2 MB / 1.029 GB Notification: Performance of Templates: time 0.1551/1.598, allocations: 94.08 MB / 1.415 GB, free: 14.38 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 cvode -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