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.009152/0.009152, allocations: 97.48 kB / 15.73 MB, free: 6.055 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.001897/0.001897, allocations: 195.7 kB / 16.68 MB, free: 5.977 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.485/1.485, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.726/2.726, allocations: 437 MB / 0.7105 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 63.89 kB / 1.019 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2865/0.2878, allocations: 151.6 MB / 1.167 GB, free: 6.832 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PumpCurveDerivatives): time 0.07511/0.3629, allocations: 79.36 MB / 1.244 GB, free: 7.188 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6623/1.025, allocations: 28.39 MB / 1.272 GB, free: 3.336 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005045/1.03, allocations: 120.8 kB / 1.272 GB, free: 3.336 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.008418/1.039, allocations: 2.643 MB / 1.275 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01291/1.052, allocations: 3.885 MB / 1.278 GB, free: 3.105 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.009398/1.061, allocations: 3.169 MB / 1.281 GB, free: 3.043 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.03831/1.099, allocations: 22.52 MB / 1.303 GB, free: 96 kB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005718/1.105, allocations: 2.754 MB / 1.306 GB, free: 14.82 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008122/1.113, allocations: 3.131 MB / 1.309 GB, free: 13.55 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005212/1.119, allocations: 2.567 MB / 1.312 GB, free: 12.51 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001184/1.12, allocations: 371.2 kB / 1.312 GB, free: 12.51 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007066/1.127, allocations: 2.364 MB / 1.314 GB, free: 11.96 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.002646/1.13, allocations: 1.814 MB / 1.316 GB, free: 11.24 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.005127/1.135, allocations: 2.647 MB / 1.319 GB, free: 9.562 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01457/1.149, allocations: 7.893 MB / 1.326 GB, free: 6.004 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/1.149, allocations: 0 / 1.326 GB, free: 6.004 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.673e-06/1.149, allocations: 1.375 kB / 1.326 GB, free: 6.004 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0002065/1.15, allocations: 0 / 1.326 GB, free: 6.004 MB / 1.014 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.01681/1.166, allocations: 6.019 MB / 1.332 GB, free: 1.645 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/1.166, allocations: 10.97 kB / 1.332 GB, free: 1.645 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00917/1.176, allocations: 1.563 MB / 1.334 GB, free: 0.918 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01809/1.194, allocations: 7.519 MB / 1.341 GB, free: 12.27 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001731/1.194, allocations: 140.7 kB / 1.341 GB, free: 12.21 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005829/1.195, allocations: 184.8 kB / 1.341 GB, free: 12.15 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005592/1.2, allocations: 2.608 MB / 1.344 GB, free: 10.57 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.462e-05/1.2, allocations: 2.625 kB / 1.344 GB, free: 10.57 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001932/1.2, allocations: 62.28 kB / 1.344 GB, free: 10.52 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.762e-05/1.2, allocations: 40.41 kB / 1.344 GB, free: 10.52 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00556/1.206, allocations: 2.016 MB / 1.346 GB, free: 9.559 MB / 1.029 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.02074/1.227, allocations: 11.76 MB / 1.358 GB, free: 15.88 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005276/1.232, allocations: 1.708 MB / 1.359 GB, free: 14.16 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00208/1.234, allocations: 0.7974 MB / 1.36 GB, free: 13.37 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00791/1.242, allocations: 4.088 MB / 1.364 GB, free: 9.043 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.764e-05/1.242, allocations: 47.25 kB / 1.364 GB, free: 8.988 MB / 1.045 GB Notification: Performance of pre-optimization done (n=82): time 3.156e-06/1.242, allocations: 0 / 1.364 GB, free: 8.988 MB / 1.045 GB Notification: Performance of matching and sorting (n=82): time 0.008841/1.251, allocations: 2.804 MB / 1.367 GB, free: 6.168 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.656e-05/1.251, allocations: 64 kB / 1.367 GB, free: 6.094 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01028/1.261, allocations: 5.686 MB / 1.372 GB, free: 440 kB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0005348/1.262, allocations: 53.64 kB / 1.372 GB, free: 380 kB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.002036/1.264, allocations: 2.056 MB / 1.374 GB, free: 14.33 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006374/1.265, allocations: 326.8 kB / 1.375 GB, free: 14.01 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001184/1.266, allocations: 0.7003 MB / 1.375 GB, free: 13.3 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001211/1.266, allocations: 301.1 kB / 1.376 GB, free: 13.01 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00363/1.27, allocations: 2.032 MB / 1.378 GB, free: 10.96 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004431/1.274, allocations: 2.917 MB / 1.381 GB, free: 7.707 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007314/1.281, allocations: 4.575 MB / 1.385 GB, free: 2.848 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.448e-05/1.281, allocations: 4 kB / 1.385 GB, free: 2.844 MB / 1.061 GB Notification: Performance of matching and sorting (n=402) (initialization): time 0.01018/1.292, allocations: 5.61 MB / 1.391 GB, free: 13.24 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.324e-05/1.292, allocations: 20.22 kB / 1.391 GB, free: 13.22 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.038e-05/1.292, allocations: 20 kB / 1.391 GB, free: 13.2 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008298/1.293, allocations: 408.6 kB / 1.391 GB, free: 12.8 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002414/1.295, allocations: 0.5889 MB / 1.392 GB, free: 12.21 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009718/1.296, allocations: 0.8997 MB / 1.392 GB, free: 11.29 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004047/1.3, allocations: 409.6 kB / 1.393 GB, free: 10.88 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003636/1.3, allocations: 164.6 kB / 1.393 GB, free: 10.72 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005513/1.306, allocations: 2.855 MB / 1.396 GB, free: 7.863 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003921/1.31, allocations: 2.677 MB / 1.398 GB, free: 4.844 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006665/1.317, allocations: 4.141 MB / 1.402 GB, free: 428 kB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.559e-05/1.317, allocations: 8 kB / 1.402 GB, free: 420 kB / 1.076 GB Notification: Performance of matching and sorting (n=402) (initialization_lambda0): time 0.009928/1.327, allocations: 5.184 MB / 1.407 GB, free: 11.23 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.727e-05/1.327, allocations: 12 kB / 1.407 GB, free: 11.21 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.666e-05/1.327, allocations: 27.94 kB / 1.407 GB, free: 11.19 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001074/1.328, allocations: 449.4 kB / 1.408 GB, free: 10.75 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002245/1.33, allocations: 0.5655 MB / 1.408 GB, free: 10.18 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008272/1.338, allocations: 6.135 MB / 1.414 GB, free: 3.836 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004484/1.343, allocations: 318.7 kB / 1.415 GB, free: 3.523 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005398/1.343, allocations: 144 kB / 1.415 GB, free: 3.383 MB / 1.092 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.0008371/1.344, allocations: 325.6 kB / 1.415 GB, free: 3.059 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001449/1.346, allocations: 460.8 kB / 1.416 GB, free: 2.605 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00702/1.353, allocations: 2.473 MB / 1.418 GB, free: 116 kB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.629e-05/1.353, allocations: 11.98 kB / 1.418 GB, free: 104 kB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/1.353, allocations: 4 kB / 1.418 GB, free: 100 kB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.571e-05/1.353, allocations: 3.984 kB / 1.418 GB, free: 96 kB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01331/1.366, allocations: 5.141 MB / 1.423 GB, free: 10.9 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.678e-06/1.366, allocations: 8.062 kB / 1.423 GB, free: 10.89 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001485/1.368, allocations: 259.6 kB / 1.423 GB, free: 10.64 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003937/1.368, allocations: 168.7 kB / 1.424 GB, free: 10.47 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001023/1.368, allocations: 39.95 kB / 1.424 GB, free: 10.43 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006984/1.369, allocations: 0.8061 MB / 1.424 GB, free: 9.602 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/1.369, allocations: 0 / 1.424 GB, free: 9.602 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00867/1.378, allocations: 3.43 MB / 1.428 GB, free: 6.141 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002205/1.38, allocations: 0.7747 MB / 1.428 GB, free: 5.344 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009846/1.381, allocations: 20 kB / 1.428 GB, free: 5.324 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002497/1.383, allocations: 147.8 kB / 1.429 GB, free: 5.18 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001627/1.383, allocations: 68.84 kB / 1.429 GB, free: 5.109 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001452/1.384, allocations: 55.95 kB / 1.429 GB, free: 5.055 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.006586/1.39, allocations: 3.864 MB / 1.433 GB, free: 1.219 MB / 1.107 GB Notification: Performance of sort global known variables: time 3.51e-07/1.39, allocations: 0 / 1.433 GB, free: 1.219 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.006025/1.396, allocations: 1.946 MB / 1.434 GB, free: 15.27 MB / 1.123 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.002031/1.398, allocations: 0.8037 MB / 1.435 GB, free: 14.52 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.01126/1.41, allocations: 5.771 MB / 1.441 GB, free: 8.742 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 9.788e-06/1.41, allocations: 4 kB / 1.441 GB, free: 8.738 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.002539/1.412, allocations: 0.8741 MB / 1.442 GB, free: 7.867 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01065/1.423, allocations: 2.427 MB / 1.444 GB, free: 5.5 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01588/1.439, allocations: 7.857 MB / 1.452 GB, free: 13.59 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002893/1.442, allocations: 2.675 MB / 1.454 GB, free: 10.89 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.005032/1.447, allocations: 1.208 MB / 1.456 GB, free: 9.676 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001193/1.448, allocations: 351.3 kB / 1.456 GB, free: 9.332 MB / 1.139 GB Notification: Performance of SimCode: time 2.985e-06/1.448, allocations: 0 / 1.456 GB, free: 9.332 MB / 1.139 GB Notification: Performance of Templates: time 0.1578/1.606, allocations: 94.91 MB / 1.549 GB, free: 11.91 MB / 1.232 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