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.001228/0.001228, allocations: 103.8 kB / 16.41 MB, free: 6.016 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.001323/0.001323, allocations: 192.3 kB / 17.34 MB, free: 5.609 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.344/1.344, allocations: 222.9 MB / 241 MB, free: 15.15 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.461/2.461, allocations: 437.1 MB / 0.7112 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002016/0.002016, allocations: 63.89 kB / 1.019 GB, free: 9.387 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9507/0.9527, allocations: 151.6 MB / 1.167 GB, free: 3.816 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PumpCurveDerivatives): time 0.08386/1.037, allocations: 79.38 MB / 1.245 GB, free: 4.168 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.04601/1.083, allocations: 28.4 MB / 1.273 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006869/1.09, allocations: 127.3 kB / 1.273 GB, free: 7.57 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.009481/1.099, allocations: 2.646 MB / 1.275 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01387/1.113, allocations: 3.991 MB / 1.279 GB, free: 0.9062 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00992/1.123, allocations: 3.171 MB / 1.282 GB, free: 13.75 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.03671/1.16, allocations: 22.53 MB / 1.304 GB, free: 7.184 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006566/1.166, allocations: 2.742 MB / 1.307 GB, free: 4.379 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01/1.176, allocations: 3.208 MB / 1.31 GB, free: 1.168 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005522/1.182, allocations: 2.569 MB / 1.313 GB, free: 14.59 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.001827/1.184, allocations: 372 kB / 1.313 GB, free: 14.23 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007285/1.191, allocations: 2.364 MB / 1.315 GB, free: 11.86 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.002897/1.194, allocations: 1.819 MB / 1.317 GB, free: 10.04 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.006366/1.2, allocations: 2.639 MB / 1.32 GB, free: 7.383 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.01496/1.215, allocations: 7.87 MB / 1.327 GB, free: 15.49 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 8.656e-06/1.215, allocations: 0 / 1.327 GB, free: 15.49 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.335e-06/1.215, allocations: 0 / 1.327 GB, free: 15.49 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0002856/1.216, allocations: 0 / 1.327 GB, free: 15.49 MB / 1.061 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.01815/1.234, allocations: 5.83 MB / 1.333 GB, free: 9.559 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.442e-05/1.234, allocations: 8.922 kB / 1.333 GB, free: 9.551 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009646/1.244, allocations: 1.539 MB / 1.334 GB, free: 8.004 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02018/1.264, allocations: 7.471 MB / 1.342 GB, free: 476 kB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003115/1.264, allocations: 143.2 kB / 1.342 GB, free: 332 kB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001001/1.265, allocations: 184 kB / 1.342 GB, free: 148 kB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008028/1.273, allocations: 2.603 MB / 1.345 GB, free: 13.45 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.17e-05/1.274, allocations: 11.94 kB / 1.345 GB, free: 13.43 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005632/1.274, allocations: 64 kB / 1.345 GB, free: 13.37 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.309e-05/1.274, allocations: 39.94 kB / 1.345 GB, free: 13.33 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006696/1.281, allocations: 2.01 MB / 1.347 GB, free: 11.32 MB / 1.076 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.02391/1.305, allocations: 11.74 MB / 1.358 GB, free: 14.99 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00512/1.31, allocations: 1.708 MB / 1.36 GB, free: 13.28 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002079/1.312, allocations: 0.7967 MB / 1.361 GB, free: 12.48 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008774/1.321, allocations: 4.081 MB / 1.365 GB, free: 8.125 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.049e-05/1.321, allocations: 47.22 kB / 1.365 GB, free: 8.07 MB / 1.092 GB Notification: Performance of pre-optimization done (n=82): time 3.236e-06/1.321, allocations: 0 / 1.365 GB, free: 8.07 MB / 1.092 GB Notification: Performance of matching and sorting (n=82): time 0.008597/1.33, allocations: 2.786 MB / 1.367 GB, free: 5.25 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.436e-05/1.33, allocations: 60.06 kB / 1.367 GB, free: 5.18 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01279/1.342, allocations: 5.685 MB / 1.373 GB, free: 15.52 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.000531/1.343, allocations: 53.64 kB / 1.373 GB, free: 15.46 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.002828/1.346, allocations: 2.027 MB / 1.375 GB, free: 13.41 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.000758/1.347, allocations: 315.8 kB / 1.375 GB, free: 13.1 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002167/1.349, allocations: 0.6971 MB / 1.376 GB, free: 12.39 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001091/1.349, allocations: 301.1 kB / 1.376 GB, free: 12.1 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003879/1.353, allocations: 2.035 MB / 1.378 GB, free: 10.05 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004435/1.357, allocations: 2.907 MB / 1.381 GB, free: 6.797 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007205/1.365, allocations: 4.581 MB / 1.386 GB, free: 1.922 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-05/1.365, allocations: 8 kB / 1.386 GB, free: 1.914 MB / 1.107 GB Notification: Performance of matching and sorting (n=402) (initialization): time 0.01168/1.376, allocations: 5.587 MB / 1.391 GB, free: 12.31 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 4.405e-05/1.376, allocations: 12 kB / 1.391 GB, free: 12.3 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.145e-05/1.376, allocations: 24 kB / 1.391 GB, free: 12.27 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009165/1.377, allocations: 413.3 kB / 1.391 GB, free: 11.87 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00267/1.38, allocations: 0.5811 MB / 1.392 GB, free: 11.29 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001025/1.381, allocations: 0.8996 MB / 1.393 GB, free: 10.36 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004572/1.386, allocations: 405.4 kB / 1.393 GB, free: 9.961 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000589/1.386, allocations: 155.9 kB / 1.393 GB, free: 9.809 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005958/1.392, allocations: 2.852 MB / 1.396 GB, free: 6.949 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004409/1.397, allocations: 2.687 MB / 1.399 GB, free: 3.914 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006852/1.404, allocations: 4.137 MB / 1.403 GB, free: 15.48 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.197e-05/1.404, allocations: 8 kB / 1.403 GB, free: 15.47 MB / 1.139 GB Notification: Performance of matching and sorting (n=402) (initialization_lambda0): time 0.01071/1.414, allocations: 5.158 MB / 1.408 GB, free: 10.29 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 4.95e-05/1.414, allocations: 16 kB / 1.408 GB, free: 10.28 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.289e-05/1.415, allocations: 23.94 kB / 1.408 GB, free: 10.25 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001141/1.416, allocations: 448.8 kB / 1.408 GB, free: 9.812 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002357/1.418, allocations: 0.5655 MB / 1.409 GB, free: 9.246 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008425/1.426, allocations: 6.125 MB / 1.415 GB, free: 2.906 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004527/1.431, allocations: 314.7 kB / 1.415 GB, free: 2.598 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006347/1.432, allocations: 152 kB / 1.415 GB, free: 2.449 MB / 1.139 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.001044/1.433, allocations: 315.5 kB / 1.416 GB, free: 2.133 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001779/1.435, allocations: 438.1 kB / 1.416 GB, free: 1.699 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007248/1.442, allocations: 2.469 MB / 1.419 GB, free: 15.21 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.336e-05/1.442, allocations: 12 kB / 1.419 GB, free: 15.2 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/1.442, allocations: 0 / 1.419 GB, free: 15.2 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.581e-05/1.442, allocations: 3.984 kB / 1.419 GB, free: 15.2 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01492/1.457, allocations: 5.16 MB / 1.424 GB, free: 9.957 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.004e-05/1.457, allocations: 0 / 1.424 GB, free: 9.957 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001569/1.458, allocations: 271.7 kB / 1.424 GB, free: 9.691 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004049/1.459, allocations: 160.6 kB / 1.424 GB, free: 9.531 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001242/1.459, allocations: 35.95 kB / 1.424 GB, free: 9.496 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007752/1.46, allocations: 0.8138 MB / 1.425 GB, free: 8.656 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.133e-06/1.46, allocations: 4 kB / 1.425 GB, free: 8.652 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008966/1.469, allocations: 3.404 MB / 1.428 GB, free: 5.211 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002851/1.472, allocations: 0.7486 MB / 1.429 GB, free: 4.438 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001429/1.473, allocations: 16 kB / 1.429 GB, free: 4.422 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003003/1.476, allocations: 147.8 kB / 1.429 GB, free: 4.277 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001759/1.476, allocations: 68.84 kB / 1.429 GB, free: 4.207 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001597/1.477, allocations: 51.95 kB / 1.429 GB, free: 4.156 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.008961/1.486, allocations: 3.86 MB / 1.433 GB, free: 332 kB / 1.154 GB Notification: Performance of sort global known variables: time 4.51e-07/1.486, allocations: 0 / 1.433 GB, free: 332 kB / 1.154 GB Notification: Performance of remove unused functions: time 0.008382/1.494, allocations: 1.935 MB / 1.435 GB, free: 14.39 MB / 1.17 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.002486/1.496, allocations: 0.8151 MB / 1.436 GB, free: 13.57 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.01178/1.508, allocations: 5.77 MB / 1.441 GB, free: 7.801 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 7.725e-06/1.508, allocations: 0 / 1.441 GB, free: 7.801 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.002472/1.511, allocations: 0.8765 MB / 1.442 GB, free: 6.926 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01125/1.522, allocations: 2.418 MB / 1.444 GB, free: 4.57 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01854/1.541, allocations: 7.926 MB / 1.452 GB, free: 12.59 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003822/1.545, allocations: 2.648 MB / 1.455 GB, free: 9.91 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001777/1.546, allocations: 363.3 kB / 1.455 GB, free: 9.555 MB / 1.186 GB Notification: Performance of SimCode: time 1.243e-06/1.546, allocations: 0 / 1.455 GB, free: 9.555 MB / 1.186 GB Notification: Performance of Templates: time 0.1453/1.692, allocations: 98.75 MB / 1.552 GB, free: 7.414 MB / 1.279 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