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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001066/0.001066, allocations: 106.2 kB / 16.35 MB, free: 5.824 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.00107/0.00107, allocations: 193.1 kB / 17.29 MB, free: 5.48 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.424/1.424, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.267/2.267, allocations: 390.3 MB / 0.6655 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 61.34 kB / 0.814 GB, free: 32.72 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2621/0.2634, allocations: 140.4 MB / 0.9511 GB, free: 8.062 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PumpCurveDerivatives): time 0.076/0.3394, allocations: 78.06 MB / 1.027 GB, free: 9.73 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.03642/0.3759, allocations: 25.95 MB / 1.053 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00496/0.3809, allocations: 119.4 kB / 1.053 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.004976/0.3859, allocations: 1.646 MB / 1.054 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.01076/0.3968, allocations: 3.49 MB / 1.058 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.007576/0.4043, allocations: 2.961 MB / 1.061 GB, free: 7.496 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.01059/0.4149, allocations: 7.006 MB / 1.068 GB, free: 480 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004749/0.4197, allocations: 2.636 MB / 1.07 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007036/0.4268, allocations: 2.966 MB / 1.073 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003975/0.4308, allocations: 2.229 MB / 1.075 GB, free: 8.562 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0007596/0.4316, allocations: 316 kB / 1.075 GB, free: 8.254 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004642/0.4362, allocations: 2.157 MB / 1.078 GB, free: 6.094 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.001156/0.4374, allocations: 1.285 MB / 1.079 GB, free: 4.805 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.00233/0.4397, allocations: 1.994 MB / 1.081 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.5659/1.006, allocations: 6.092 MB / 1.087 GB, free: 25 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/1.006, allocations: 0 / 1.087 GB, free: 25 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.794e-06/1.006, allocations: 0 / 1.087 GB, free: 25 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0002626/1.006, allocations: 0 / 1.087 GB, free: 25 MB / 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.01428/1.02, allocations: 4.475 MB / 1.091 GB, free: 23.06 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/1.02, allocations: 10.91 kB / 1.091 GB, free: 23.06 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007419/1.028, allocations: 1.181 MB / 1.092 GB, free: 22.84 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01073/1.039, allocations: 3.867 MB / 1.096 GB, free: 22.07 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002071/1.039, allocations: 139.7 kB / 1.096 GB, free: 22.07 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006615/1.039, allocations: 180.3 kB / 1.096 GB, free: 22.07 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006386/1.046, allocations: 2.484 MB / 1.099 GB, free: 21.77 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.001e-05/1.046, allocations: 7.562 kB / 1.099 GB, free: 21.77 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002172/1.046, allocations: 69.86 kB / 1.099 GB, free: 21.77 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.396e-05/1.046, allocations: 38.22 kB / 1.099 GB, free: 21.77 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00626/1.052, allocations: 2.042 MB / 1.101 GB, free: 21.71 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.01951/1.072, allocations: 10.85 MB / 1.111 GB, free: 16.88 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00499/1.077, allocations: 1.731 MB / 1.113 GB, free: 16.81 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002342/1.079, allocations: 0.8298 MB / 1.114 GB, free: 16.78 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007276/1.087, allocations: 3.735 MB / 1.118 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/1.087, allocations: 50.27 kB / 1.118 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=76): time 3.466e-06/1.087, allocations: 0 / 1.118 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of matching and sorting (n=76): time 0.009253/1.096, allocations: 2.801 MB / 1.12 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.097e-05/1.096, allocations: 64.69 kB / 1.12 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006867/1.103, allocations: 3.729 MB / 1.124 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.000602/1.104, allocations: 48.2 kB / 1.124 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.001419/1.105, allocations: 1.59 MB / 1.126 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004482/1.105, allocations: 267.1 kB / 1.126 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006753/1.106, allocations: 384.2 kB / 1.126 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.385e-05/1.106, allocations: 309.6 kB / 1.127 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00285/1.109, allocations: 1.344 MB / 1.128 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003149/1.112, allocations: 2.068 MB / 1.13 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005878/1.118, allocations: 3.3 MB / 1.133 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.648e-05/1.118, allocations: 5.875 kB / 1.133 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of matching and sorting (n=202) (initialization): time 0.008669/1.127, allocations: 3.777 MB / 1.137 GB, free: 11.42 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.835e-05/1.127, allocations: 17.34 kB / 1.137 GB, free: 11.42 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-05/1.127, allocations: 21.16 kB / 1.137 GB, free: 11.42 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007139/1.128, allocations: 306.7 kB / 1.137 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002054/1.13, allocations: 472 kB / 1.138 GB, free: 11.4 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006663/1.13, allocations: 0.8167 MB / 1.138 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003397/1.134, allocations: 316.3 kB / 1.139 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003/1.134, allocations: 139.4 kB / 1.139 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003583/1.138, allocations: 1.813 MB / 1.141 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002512/1.14, allocations: 1.826 MB / 1.142 GB, free: 9.762 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00427/1.145, allocations: 2.844 MB / 1.145 GB, free: 8.934 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.272e-05/1.145, allocations: 6.938 kB / 1.145 GB, free: 8.934 MB / 0.8575 GB Notification: Performance of matching and sorting (n=202) (initialization_lambda0): time 0.006626/1.151, allocations: 3.334 MB / 1.148 GB, free: 7.945 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/1.151, allocations: 15.75 kB / 1.149 GB, free: 7.945 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.811e-05/1.151, allocations: 21.08 kB / 1.149 GB, free: 7.945 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009445/1.152, allocations: 400.6 kB / 1.149 GB, free: 7.848 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001918/1.154, allocations: 441 kB / 1.149 GB, free: 7.828 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006131/1.16, allocations: 4.997 MB / 1.154 GB, free: 4.879 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003841/1.164, allocations: 248.1 kB / 1.154 GB, free: 4.789 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004792/1.165, allocations: 127.1 kB / 1.155 GB, free: 4.773 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 (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.0007507/1.165, allocations: 288 kB / 1.155 GB, free: 4.539 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001136/1.167, allocations: 323.2 kB / 1.155 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006168/1.173, allocations: 2.428 MB / 1.158 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.936e-05/1.173, allocations: 12.31 kB / 1.158 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/1.173, allocations: 0 / 1.158 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.367e-05/1.173, allocations: 3.703 kB / 1.158 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01064/1.184, allocations: 4.62 MB / 1.162 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/1.184, allocations: 2.469 kB / 1.162 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001427/1.185, allocations: 283.4 kB / 1.162 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003565/1.185, allocations: 133.1 kB / 1.162 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.333e-05/1.185, allocations: 37.81 kB / 1.162 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005369/1.186, allocations: 0.7337 MB / 1.163 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/1.186, allocations: 2.5 kB / 1.163 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008743/1.195, allocations: 3.418 MB / 1.167 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002648/1.197, allocations: 0.5721 MB / 1.167 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001377/1.199, allocations: 19.69 kB / 1.167 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002794/1.202, allocations: 160 kB / 1.167 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001983/1.202, allocations: 63.45 kB / 1.167 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000184/1.202, allocations: 55.95 kB / 1.167 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.005091/1.207, allocations: 2.57 MB / 1.17 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of sort global known variables: time 7.31e-07/1.207, allocations: 0 / 1.17 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.006754/1.214, allocations: 1.518 MB / 1.171 GB, free: 13.86 MB / 0.8731 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.001773/1.216, allocations: 0.6616 MB / 1.172 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.009469/1.225, allocations: 4.188 MB / 1.176 GB, free: 11.76 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 8.436e-06/1.225, allocations: 1.203 kB / 1.176 GB, free: 11.76 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.002569/1.228, allocations: 0.9372 MB / 1.177 GB, free: 11.27 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008005/1.236, allocations: 1.739 MB / 1.179 GB, free: 9.566 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01159/1.248, allocations: 5.742 MB / 1.184 GB, free: 3.801 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001975/1.25, allocations: 2.113 MB / 1.186 GB, free: 1.664 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.003916/1.253, allocations: 0.8093 MB / 1.187 GB, free: 0.8555 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008868/1.254, allocations: 255.3 kB / 1.187 GB, free: 0.6055 MB / 0.8731 GB Notification: Performance of SimCode: time 9.12e-07/1.254, allocations: 0 / 1.187 GB, free: 0.6055 MB / 0.8731 GB Notification: Performance of Templates: time 0.118/1.372, allocations: 71.77 MB / 1.258 GB, free: 10.41 MB / 0.9512 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 -s cvode -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