Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.PumpCurveConstruction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pum.dpMachine|pum_dp.dpMachine|pum_m_flow.dpMachine|pum_no.dpMachine",fileNamePrefix="Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction") translateModel(Buildings.Fluid.Movers.Validation.PumpCurveConstruction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pum.dpMachine|pum_dp.dpMachine|pum_m_flow.dpMachine|pum_no.dpMachine",fileNamePrefix="Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001719/0.001719, allocations: 109.4 kB / 16.41 MB, free: 6.496 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.001871/0.001872, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.378/1.378, 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.3-maint.9.1.x/package.mo): time 2.189/2.189, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 63.84 kB / 0.9515 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9544/0.9559, allocations: 140.4 MB / 1.089 GB, free: 5.797 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PumpCurveConstruction): time 0.111/1.067, allocations: 102.6 MB / 1.189 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.05141/1.118, allocations: 32.45 MB / 1.221 GB, free: 1.664 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00942/1.128, allocations: 155.5 kB / 1.221 GB, free: 1.609 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.007758/1.136, allocations: 2.011 MB / 1.223 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.01719/1.153, allocations: 5.138 MB / 1.228 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.01146/1.164, allocations: 3.829 MB / 1.231 GB, free: 9 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.02005/1.185, allocations: 9.418 MB / 1.241 GB, free: 2.398 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006982/1.192, allocations: 3.505 MB / 1.244 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01203/1.204, allocations: 4.072 MB / 1.248 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006685/1.21, allocations: 2.976 MB / 1.251 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.001713/1.212, allocations: 396 kB / 1.251 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007841/1.22, allocations: 2.566 MB / 1.254 GB, free: 4.812 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.002267/1.222, allocations: 1.234 MB / 1.255 GB, free: 3.574 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.004706/1.227, allocations: 2.266 MB / 1.257 GB, free: 1.297 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0136/1.241, allocations: 6.913 MB / 1.264 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.026e-06/1.241, allocations: 0 / 1.264 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.114e-06/1.241, allocations: 0 / 1.264 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002231/1.241, allocations: 0 / 1.264 GB, free: 10.36 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.01174/1.253, allocations: 4.803 MB / 1.269 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.34e-05/1.253, allocations: 8.031 kB / 1.269 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008556/1.261, allocations: 1.498 MB / 1.27 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01067/1.272, allocations: 4.064 MB / 1.274 GB, free: 15.84 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002313/1.272, allocations: 180.1 kB / 1.274 GB, free: 15.66 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007791/1.273, allocations: 224 kB / 1.274 GB, free: 15.44 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005772/1.279, allocations: 2.722 MB / 1.277 GB, free: 12.59 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.876e-05/1.279, allocations: 3.938 kB / 1.277 GB, free: 12.58 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002164/1.279, allocations: 88 kB / 1.277 GB, free: 12.5 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.899e-05/1.279, allocations: 52 kB / 1.277 GB, free: 12.45 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005068/1.284, allocations: 2.088 MB / 1.279 GB, free: 10.36 MB / 1.014 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.01749/1.302, allocations: 12.55 MB / 1.292 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004005/1.306, allocations: 1.586 MB / 1.293 GB, free: 11.34 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001899/1.308, allocations: 0.7578 MB / 1.294 GB, free: 10.58 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006359/1.314, allocations: 3.728 MB / 1.297 GB, free: 6.562 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.801e-05/1.314, allocations: 51.55 kB / 1.298 GB, free: 6.504 MB / 1.029 GB Notification: Performance of pre-optimization done (n=104): time 3.516e-06/1.314, allocations: 0 / 1.298 GB, free: 6.504 MB / 1.029 GB Notification: Performance of matching and sorting (n=104): time 0.009753/1.324, allocations: 3.072 MB / 1.301 GB, free: 3.336 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.536e-05/1.324, allocations: 60.41 kB / 1.301 GB, free: 3.266 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005275/1.329, allocations: 3.26 MB / 1.304 GB, free: 15.98 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0003427/1.33, allocations: 61.69 kB / 1.304 GB, free: 15.92 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.001465/1.331, allocations: 1.725 MB / 1.306 GB, free: 14.18 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004663/1.332, allocations: 354.8 kB / 1.306 GB, free: 13.83 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000668/1.332, allocations: 443.1 kB / 1.306 GB, free: 13.39 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001016/1.332, allocations: 309 kB / 1.307 GB, free: 13.09 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00242/1.335, allocations: 1.074 MB / 1.308 GB, free: 12.01 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002891/1.338, allocations: 1.728 MB / 1.309 GB, free: 9.988 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005138/1.343, allocations: 2.682 MB / 1.312 GB, free: 7.07 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.606e-05/1.343, allocations: 8 kB / 1.312 GB, free: 7.062 MB / 1.045 GB Notification: Performance of matching and sorting (n=224) (initialization): time 0.0077/1.351, allocations: 3.409 MB / 1.315 GB, free: 3.629 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.536e-05/1.351, allocations: 12 kB / 1.315 GB, free: 3.617 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.283e-05/1.351, allocations: 20 kB / 1.315 GB, free: 3.598 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001425/1.352, allocations: 0.5499 MB / 1.316 GB, free: 3.035 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001885/1.354, allocations: 447.3 kB / 1.316 GB, free: 2.598 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001988/1.356, allocations: 2.592 MB / 1.319 GB, free: 15.9 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002749/1.359, allocations: 269.8 kB / 1.319 GB, free: 15.64 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002573/1.359, allocations: 139.9 kB / 1.319 GB, free: 15.5 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003367/1.363, allocations: 1.538 MB / 1.321 GB, free: 13.96 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002605/1.365, allocations: 1.561 MB / 1.322 GB, free: 12.11 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004528/1.37, allocations: 2.367 MB / 1.325 GB, free: 9.496 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.071e-05/1.37, allocations: 4 kB / 1.325 GB, free: 9.492 MB / 1.061 GB Notification: Performance of matching and sorting (n=224) (initialization_lambda0): time 0.007662/1.377, allocations: 3.122 MB / 1.328 GB, free: 6.352 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/1.377, allocations: 12 kB / 1.328 GB, free: 6.34 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.998e-05/1.377, allocations: 16.84 kB / 1.328 GB, free: 6.324 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00206/1.38, allocations: 0.6633 MB / 1.328 GB, free: 5.648 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00162/1.381, allocations: 419.3 kB / 1.329 GB, free: 5.238 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01493/1.396, allocations: 11.85 MB / 1.34 GB, free: 8.711 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003041/1.399, allocations: 218.6 kB / 1.34 GB, free: 8.496 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002613/1.399, allocations: 119.9 kB / 1.341 GB, free: 8.379 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * 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 (196): * Single equations (assignments): 188 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,4), (1,4), (1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0006531/1.4, allocations: 292.6 kB / 1.341 GB, free: 8.086 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000663/1.401, allocations: 339.6 kB / 1.341 GB, free: 7.75 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006607/1.407, allocations: 2.631 MB / 1.344 GB, free: 5.09 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.081e-05/1.407, allocations: 20 kB / 1.344 GB, free: 5.07 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/1.407, allocations: 0 / 1.344 GB, free: 5.07 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.435e-05/1.407, allocations: 7.969 kB / 1.344 GB, free: 5.062 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009641/1.417, allocations: 4.782 MB / 1.348 GB, free: 208 kB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.286e-06/1.417, allocations: 0 / 1.348 GB, free: 208 kB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00137/1.419, allocations: 263.8 kB / 1.349 GB, free: 15.94 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008867/1.419, allocations: 339 kB / 1.349 GB, free: 15.6 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.877e-05/1.42, allocations: 43.95 kB / 1.349 GB, free: 15.55 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001798/1.421, allocations: 2.494 MB / 1.351 GB, free: 12.96 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/1.421, allocations: 4.281 kB / 1.351 GB, free: 12.95 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005858/1.427, allocations: 2.416 MB / 1.354 GB, free: 10.5 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001312/1.429, allocations: 0.5821 MB / 1.354 GB, free: 9.895 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003895/1.429, allocations: 20 kB / 1.354 GB, free: 9.875 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001583/1.431, allocations: 119.9 kB / 1.355 GB, free: 9.758 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001596/1.431, allocations: 81.14 kB / 1.355 GB, free: 9.676 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000147/1.431, allocations: 71.92 kB / 1.355 GB, free: 9.605 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.003245/1.434, allocations: 2.179 MB / 1.357 GB, free: 7.418 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.4e-07/1.434, allocations: 0 / 1.357 GB, free: 7.418 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.004833/1.439, allocations: 1.707 MB / 1.358 GB, free: 5.707 MB / 1.092 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (109): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,5), (1,5), (1,5), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00181/1.441, allocations: 0.741 MB / 1.359 GB, free: 4.965 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.01014/1.451, allocations: 4.242 MB / 1.363 GB, free: 0.6758 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 6.162e-06/1.451, allocations: 0 / 1.363 GB, free: 0.6758 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.002477/1.453, allocations: 0.9379 MB / 1.364 GB, free: 15.74 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007136/1.461, allocations: 1.637 MB / 1.366 GB, free: 14.13 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01079/1.471, allocations: 5.878 MB / 1.372 GB, free: 8.223 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001722/1.473, allocations: 2.164 MB / 1.374 GB, free: 6.035 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001221/1.474, allocations: 287.3 kB / 1.374 GB, free: 5.754 MB / 1.107 GB Notification: Performance of SimCode: time 9.81e-07/1.474, allocations: 0 / 1.374 GB, free: 5.754 MB / 1.107 GB Notification: Performance of Templates: time 0.157/1.632, allocations: 126.6 MB / 1.498 GB, free: 7.523 MB / 1.232 GB make -j1 -f Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.makefile (rm -f Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.sim & ./Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Movers_Validation_PumpCurveConstruction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches