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.001419/0.001418, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00171/0.00171, allocations: 191.4 kB / 16.53 MB, free: 6.391 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.362/1.362, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.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.497/2.497, allocations: 437 MB / 0.7103 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 63.91 kB / 0.8692 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6358/0.637, allocations: 151.6 MB / 1.017 GB, free: 2.504 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PumpCurveDerivatives): time 0.0779/0.715, allocations: 79.36 MB / 1.095 GB, free: 2.871 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.04098/0.756, allocations: 28.4 MB / 1.122 GB, free: 6.398 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005375/0.7614, allocations: 123.4 kB / 1.123 GB, free: 6.277 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.01922/0.7807, allocations: 11.46 MB / 1.134 GB, free: 10.79 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.01048/0.7912, allocations: 3.767 MB / 1.137 GB, free: 7.008 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.008861/0.8001, allocations: 3.083 MB / 1.141 GB, free: 3.938 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.03338/0.8335, allocations: 20.14 MB / 1.16 GB, free: 15.8 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005598/0.8391, allocations: 2.715 MB / 1.163 GB, free: 13.02 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007303/0.8464, allocations: 3.082 MB / 1.166 GB, free: 9.934 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004307/0.8507, allocations: 2.509 MB / 1.168 GB, free: 7.414 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.001363/0.8521, allocations: 371.9 kB / 1.169 GB, free: 7.051 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006651/0.8588, allocations: 2.925 MB / 1.171 GB, free: 4.121 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.002156/0.8609, allocations: 1.799 MB / 1.173 GB, free: 2.316 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.00474/0.8657, allocations: 2.639 MB / 1.176 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.01316/0.8788, allocations: 8.225 MB / 1.184 GB, free: 7.414 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 8.076e-06/0.8789, allocations: 0 / 1.184 GB, free: 7.414 MB / 0.9356 GB Notification: Performance of FrontEnd: time 4.428e-06/0.8789, allocations: 0 / 1.184 GB, free: 7.414 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0003001/0.8792, allocations: 3.938 kB / 1.184 GB, free: 7.41 MB / 0.9356 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.01852/0.8978, allocations: 5.854 MB / 1.19 GB, free: 1.453 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 2.619e-05/0.8978, allocations: 8.031 kB / 1.19 GB, free: 1.445 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009772/0.9076, allocations: 1.539 MB / 1.191 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01466/0.9223, allocations: 7.104 MB / 1.198 GB, free: 8.723 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005111/0.9228, allocations: 207.7 kB / 1.198 GB, free: 8.52 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004535/0.9233, allocations: 188 kB / 1.198 GB, free: 8.336 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006014/0.9293, allocations: 2.607 MB / 1.201 GB, free: 5.633 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.312e-05/0.9294, allocations: 7.938 kB / 1.201 GB, free: 5.625 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002364/0.9297, allocations: 71.88 kB / 1.201 GB, free: 5.555 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.003e-05/0.9297, allocations: 36 kB / 1.201 GB, free: 5.52 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006052/0.9358, allocations: 2.041 MB / 1.203 GB, free: 3.473 MB / 0.9512 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.02598/0.9618, allocations: 11.81 MB / 1.215 GB, free: 7.074 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007844/0.9697, allocations: 1.751 MB / 1.216 GB, free: 5.316 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003352/0.9731, allocations: 0.8034 MB / 1.217 GB, free: 4.508 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01113/0.9843, allocations: 4.104 MB / 1.221 GB, free: 136 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.434e-05/0.9844, allocations: 43.22 kB / 1.221 GB, free: 84 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=82): time 4.438e-06/0.9844, allocations: 4 kB / 1.221 GB, free: 80 kB / 0.9669 GB Notification: Performance of matching and sorting (n=82): time 0.009774/0.9942, allocations: 2.821 MB / 1.224 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.135e-05/0.9942, allocations: 60.06 kB / 1.224 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0115/1.006, allocations: 5.533 MB / 1.229 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0004506/1.006, allocations: 57.7 kB / 1.229 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.002482/1.009, allocations: 2.014 MB / 1.231 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005938/1.009, allocations: 311.8 kB / 1.232 GB, free: 5.238 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001871/1.011, allocations: 0.7569 MB / 1.232 GB, free: 4.473 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.27e-05/1.011, allocations: 301.1 kB / 1.233 GB, free: 4.176 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004204/1.016, allocations: 2.193 MB / 1.235 GB, free: 1.973 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004879/1.02, allocations: 3.086 MB / 1.238 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008894/1.029, allocations: 4.887 MB / 1.243 GB, free: 9.352 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.599e-05/1.029, allocations: 8 kB / 1.243 GB, free: 9.344 MB / 0.9981 GB Notification: Performance of matching and sorting (n=432) (initialization): time 0.01236/1.042, allocations: 5.952 MB / 1.248 GB, free: 3.375 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.853e-05/1.042, allocations: 16 kB / 1.248 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.701e-05/1.042, allocations: 20 kB / 1.248 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008889/1.043, allocations: 429.4 kB / 1.249 GB, free: 2.918 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002698/1.046, allocations: 0.6163 MB / 1.249 GB, free: 2.301 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001058/1.047, allocations: 0.8996 MB / 1.25 GB, free: 1.375 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004451/1.051, allocations: 414.4 kB / 1.251 GB, free: 0.9648 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006816/1.052, allocations: 171.9 kB / 1.251 GB, free: 0.7969 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.617/1.669, allocations: 3.003 MB / 1.254 GB, free: 219.1 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004842/1.674, allocations: 2.865 MB / 1.257 GB, free: 217.9 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008022/1.682, allocations: 4.454 MB / 1.261 GB, free: 215.7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.994e-05/1.682, allocations: 6.375 kB / 1.261 GB, free: 215.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=432) (initialization_lambda0): time 0.01346/1.695, allocations: 5.521 MB / 1.266 GB, free: 213.9 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.617e-05/1.695, allocations: 13.78 kB / 1.266 GB, free: 213.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.93e-05/1.696, allocations: 25.75 kB / 1.266 GB, free: 213.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001269/1.697, allocations: 449 kB / 1.267 GB, free: 213.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002631/1.699, allocations: 0.6009 MB / 1.267 GB, free: 213.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008199/1.708, allocations: 6.129 MB / 1.273 GB, free: 210.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004871/1.713, allocations: 332.3 kB / 1.274 GB, free: 210.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005525/1.713, allocations: 156.9 kB / 1.274 GB, free: 210.2 MB / 0.9981 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.0006853/1.714, allocations: 319.5 kB / 1.274 GB, free: 210 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001286/1.715, allocations: 441.6 kB / 1.275 GB, free: 209.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007149/1.722, allocations: 2.498 MB / 1.277 GB, free: 209.1 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.14e-05/1.722, allocations: 21.34 kB / 1.277 GB, free: 209.1 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/1.722, allocations: 4.578 kB / 1.277 GB, free: 209.1 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.536e-05/1.722, allocations: 9.188 kB / 1.277 GB, free: 209.1 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01099/1.733, allocations: 5.162 MB / 1.282 GB, free: 207.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/1.733, allocations: 0 / 1.282 GB, free: 207.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001512/1.735, allocations: 273.9 kB / 1.282 GB, free: 207 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003389/1.735, allocations: 169.5 kB / 1.283 GB, free: 207 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000105/1.735, allocations: 34.73 kB / 1.283 GB, free: 207 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005142/1.736, allocations: 0.812 MB / 1.283 GB, free: 206.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/1.736, allocations: 7.953 kB / 1.283 GB, free: 206.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007731/1.744, allocations: 3.431 MB / 1.287 GB, free: 205 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001838/1.746, allocations: 0.7487 MB / 1.287 GB, free: 204.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001159/1.747, allocations: 16.12 kB / 1.288 GB, free: 204.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002672/1.749, allocations: 149.7 kB / 1.288 GB, free: 204.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001623/1.75, allocations: 73.62 kB / 1.288 GB, free: 204.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001578/1.75, allocations: 55.44 kB / 1.288 GB, free: 204.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.006283/1.756, allocations: 3.73 MB / 1.291 GB, free: 203.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.21e-07/1.756, allocations: 3.844 kB / 1.291 GB, free: 203.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.006367/1.762, allocations: 2.069 MB / 1.293 GB, free: 202.5 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.001994/1.764, allocations: 0.9115 MB / 1.294 GB, free: 201.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01123/1.776, allocations: 6.293 MB / 1.3 GB, free: 195.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.183e-06/1.776, allocations: 0 / 1.3 GB, free: 195.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00233/1.778, allocations: 0.894 MB / 1.301 GB, free: 194.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01006/1.788, allocations: 2.366 MB / 1.304 GB, free: 192.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01582/1.804, allocations: 7.959 MB / 1.311 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00264/1.807, allocations: 2.667 MB / 1.314 GB, free: 182 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.005377/1.812, allocations: 1.203 MB / 1.315 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001079/1.813, allocations: 347.3 kB / 1.316 GB, free: 180.4 MB / 0.9981 GB Notification: Performance of SimCode: time 9.62e-07/1.813, allocations: 0 / 1.316 GB, free: 180.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.1358/1.949, allocations: 101.2 MB / 1.414 GB, free: 80.66 MB / 0.9981 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches