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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001868/0.001868, allocations: 106.3 kB / 16.27 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.001824/0.001824, allocations: 187 kB / 17.19 MB, free: 5.645 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.404/1.404, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.535/2.535, allocations: 437.1 MB / 0.7111 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001897/0.001897, allocations: 71.58 kB / 0.8699 GB, free: 2.211 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3747/0.3767, allocations: 151.6 MB / 1.018 GB, free: 10.66 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PumpCurveDerivatives): time 0.711/1.088, allocations: 79.35 MB / 1.095 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.04207/1.13, allocations: 28.4 MB / 1.123 GB, free: 3.469 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007054/1.137, allocations: 123.3 kB / 1.123 GB, free: 3.43 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.02267/1.16, allocations: 11.46 MB / 1.135 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.01388/1.174, allocations: 3.769 MB / 1.138 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.01044/1.184, allocations: 3.089 MB / 1.141 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.03751/1.221, allocations: 20.16 MB / 1.161 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006635/1.228, allocations: 2.715 MB / 1.164 GB, free: 1.145 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00939/1.238, allocations: 3.08 MB / 1.167 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005783/1.243, allocations: 2.513 MB / 1.169 GB, free: 13.72 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.001659/1.245, allocations: 361.3 kB / 1.169 GB, free: 13.72 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008967/1.254, allocations: 2.933 MB / 1.172 GB, free: 11.54 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.003097/1.257, allocations: 1.803 MB / 1.174 GB, free: 9.734 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.006439/1.264, allocations: 2.631 MB / 1.177 GB, free: 7.09 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.01721/1.281, allocations: 8.237 MB / 1.185 GB, free: 14.83 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 8.446e-06/1.281, allocations: 0 / 1.185 GB, free: 14.83 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.723e-06/1.281, allocations: 0 / 1.185 GB, free: 14.83 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0002828/1.281, allocations: 4 kB / 1.185 GB, free: 14.82 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.01767/1.299, allocations: 5.85 MB / 1.19 GB, free: 8.875 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.263e-05/1.299, allocations: 12.62 kB / 1.19 GB, free: 8.863 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00984/1.309, allocations: 1.539 MB / 1.192 GB, free: 7.316 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01751/1.326, allocations: 7.097 MB / 1.199 GB, free: 156 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006822/1.327, allocations: 203.8 kB / 1.199 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008183/1.328, allocations: 188 kB / 1.199 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007469/1.336, allocations: 2.615 MB / 1.202 GB, free: 13.06 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.391e-05/1.336, allocations: 7.938 kB / 1.202 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004058/1.336, allocations: 68 kB / 1.202 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-05/1.336, allocations: 43.94 kB / 1.202 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006548/1.343, allocations: 2.03 MB / 1.204 GB, free: 10.91 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.02433/1.367, allocations: 11.81 MB / 1.215 GB, free: 14.5 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005974/1.373, allocations: 1.754 MB / 1.217 GB, free: 12.73 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002426/1.375, allocations: 0.8006 MB / 1.218 GB, free: 11.93 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009079/1.385, allocations: 4.093 MB / 1.222 GB, free: 7.57 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.666e-05/1.385, allocations: 47.22 kB / 1.222 GB, free: 7.512 MB / 0.92 GB Notification: Performance of pre-optimization done (n=82): time 3.357e-06/1.385, allocations: 0 / 1.222 GB, free: 7.512 MB / 0.92 GB Notification: Performance of matching and sorting (n=82): time 0.009712/1.394, allocations: 2.817 MB / 1.225 GB, free: 4.664 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.573e-05/1.394, allocations: 60.06 kB / 1.225 GB, free: 4.594 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01213/1.407, allocations: 5.537 MB / 1.23 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0005192/1.407, allocations: 57.7 kB / 1.23 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.002524/1.41, allocations: 2.015 MB / 1.232 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006187/1.41, allocations: 311.8 kB / 1.232 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00134/1.412, allocations: 0.7607 MB / 1.233 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001595/1.412, allocations: 301.1 kB / 1.233 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004213/1.416, allocations: 2.201 MB / 1.236 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005455/1.422, allocations: 3.09 MB / 1.239 GB, free: 5.957 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008868/1.43, allocations: 4.879 MB / 1.243 GB, free: 0.7734 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-05/1.431, allocations: 12 kB / 1.243 GB, free: 0.7617 MB / 0.9356 GB Notification: Performance of matching and sorting (n=432) (initialization): time 0.01251/1.443, allocations: 5.956 MB / 1.249 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.823e-05/1.443, allocations: 16 kB / 1.249 GB, free: 10.78 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.634e-05/1.443, allocations: 20 kB / 1.249 GB, free: 10.76 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009297/1.444, allocations: 421.3 kB / 1.25 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002738/1.447, allocations: 0.6201 MB / 1.25 GB, free: 9.723 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001085/1.448, allocations: 0.8996 MB / 1.251 GB, free: 8.797 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004025/1.452, allocations: 411.3 kB / 1.251 GB, free: 8.395 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005374/1.453, allocations: 171.9 kB / 1.252 GB, free: 8.227 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006101/1.459, allocations: 3.016 MB / 1.255 GB, free: 5.203 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004805/1.464, allocations: 2.863 MB / 1.257 GB, free: 1.988 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008088/1.472, allocations: 4.452 MB / 1.262 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.115e-05/1.472, allocations: 8 kB / 1.262 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of matching and sorting (n=432) (initialization_lambda0): time 0.01195/1.484, allocations: 5.518 MB / 1.267 GB, free: 7.688 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.215e-05/1.484, allocations: 16 kB / 1.267 GB, free: 7.672 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.051e-05/1.484, allocations: 20.91 kB / 1.267 GB, free: 7.652 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001133/1.485, allocations: 460.5 kB / 1.268 GB, free: 7.199 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002599/1.488, allocations: 0.6046 MB / 1.268 GB, free: 6.594 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009219/1.497, allocations: 6.121 MB / 1.274 GB, free: 268 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004434/1.501, allocations: 332 kB / 1.274 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005999/1.502, allocations: 159.9 kB / 1.275 GB, free: 15.78 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * 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 (305): * Single equations (assignments): 295 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 6 * 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.0007165/1.503, allocations: 324.2 kB / 1.275 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001428/1.504, allocations: 438.1 kB / 1.275 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007364/1.511, allocations: 2.496 MB / 1.278 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.387e-05/1.511, allocations: 12 kB / 1.278 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/1.511, allocations: 0 / 1.278 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.489e-05/1.511, allocations: 3.984 kB / 1.278 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01325/1.525, allocations: 5.175 MB / 1.283 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.346e-05/1.525, allocations: 4 kB / 1.283 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00163/1.526, allocations: 275.7 kB / 1.283 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004152/1.527, allocations: 160.7 kB / 1.283 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001316/1.527, allocations: 39.95 kB / 1.283 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008629/1.528, allocations: 0.8021 MB / 1.284 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/1.528, allocations: 3.984 kB / 1.284 GB, free: 5.934 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009512/1.537, allocations: 3.439 MB / 1.287 GB, free: 2.457 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00251/1.54, allocations: 0.7486 MB / 1.288 GB, free: 1.684 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001148/1.541, allocations: 16 kB / 1.288 GB, free: 1.668 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00277/1.544, allocations: 143.8 kB / 1.288 GB, free: 1.527 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002027/1.544, allocations: 72.94 kB / 1.288 GB, free: 1.457 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001724/1.544, allocations: 71.86 kB / 1.289 GB, free: 1.387 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.007836/1.552, allocations: 3.723 MB / 1.292 GB, free: 13.69 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.81e-07/1.552, allocations: 0 / 1.292 GB, free: 13.69 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.007721/1.56, allocations: 2.067 MB / 1.294 GB, free: 11.62 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.002494/1.563, allocations: 0.916 MB / 1.295 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0138/1.576, allocations: 6.294 MB / 1.301 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/1.576, allocations: 0 / 1.301 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002701/1.579, allocations: 0.8886 MB / 1.302 GB, free: 3.52 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01124/1.59, allocations: 2.356 MB / 1.304 GB, free: 1.227 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02012/1.611, allocations: 8.177 MB / 1.312 GB, free: 8.996 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003457/1.614, allocations: 2.655 MB / 1.315 GB, free: 6.312 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001724/1.616, allocations: 359.3 kB / 1.315 GB, free: 5.961 MB / 1.014 GB Notification: Performance of SimCode: time 1.353e-06/1.616, allocations: 7.938 kB / 1.315 GB, free: 5.953 MB / 1.014 GB Notification: Performance of Templates: time 0.1569/1.773, allocations: 99.42 MB / 1.412 GB, free: 3.184 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 -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