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.007614/0.007614, allocations: 104.7 kB / 15.73 MB, free: 6.051 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.001678/0.001678, allocations: 191.1 kB / 16.68 MB, free: 5.965 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.438/1.438, allocations: 222.9 MB / 240.4 MB, free: 15.13 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.235/2.235, allocations: 390.2 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 63.91 kB / 0.9508 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8661/0.8673, allocations: 140.4 MB / 1.088 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PumpCurveConstruction): time 0.1065/0.9739, allocations: 102.6 MB / 1.188 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.04917/1.023, allocations: 32.45 MB / 1.22 GB, free: 1.426 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007812/1.031, allocations: 154.7 kB / 1.22 GB, free: 1.371 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.006687/1.038, allocations: 2.008 MB / 1.222 GB, free: 15.71 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.01583/1.054, allocations: 5.142 MB / 1.227 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.01064/1.064, allocations: 3.826 MB / 1.231 GB, free: 8.762 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.01496/1.079, allocations: 9.423 MB / 1.24 GB, free: 2.207 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006036/1.085, allocations: 3.509 MB / 1.243 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01007/1.095, allocations: 4.062 MB / 1.247 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005339/1.101, allocations: 2.972 MB / 1.25 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.00113/1.102, allocations: 396 kB / 1.251 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006475/1.108, allocations: 2.566 MB / 1.253 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001604/1.11, allocations: 1.246 MB / 1.254 GB, free: 3.375 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.003366/1.113, allocations: 2.258 MB / 1.257 GB, free: 1.105 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.01021/1.124, allocations: 6.913 MB / 1.263 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/1.124, allocations: 0 / 1.263 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.443e-06/1.124, allocations: 0 / 1.263 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001211/1.124, allocations: 0 / 1.263 GB, free: 10.17 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.00895/1.133, allocations: 4.809 MB / 1.268 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/1.133, allocations: 8.031 kB / 1.268 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008337/1.141, allocations: 1.498 MB / 1.269 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009923/1.151, allocations: 4.068 MB / 1.273 GB, free: 15.64 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001729/1.151, allocations: 176.1 kB / 1.274 GB, free: 15.46 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000539/1.152, allocations: 228 kB / 1.274 GB, free: 15.24 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005277/1.157, allocations: 2.722 MB / 1.276 GB, free: 12.38 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.069e-05/1.157, allocations: 4 kB / 1.276 GB, free: 12.38 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002033/1.157, allocations: 80 kB / 1.277 GB, free: 12.3 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.715e-05/1.157, allocations: 52 kB / 1.277 GB, free: 12.25 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005397/1.163, allocations: 2.096 MB / 1.279 GB, free: 10.15 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.01764/1.18, allocations: 12.54 MB / 1.291 GB, free: 12.74 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003918/1.184, allocations: 1.59 MB / 1.292 GB, free: 11.14 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001873/1.186, allocations: 0.7577 MB / 1.293 GB, free: 10.38 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006214/1.193, allocations: 3.72 MB / 1.297 GB, free: 6.371 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.889e-05/1.193, allocations: 43.56 kB / 1.297 GB, free: 6.32 MB / 1.029 GB Notification: Performance of pre-optimization done (n=104): time 2.445e-06/1.193, allocations: 0 / 1.297 GB, free: 6.32 MB / 1.029 GB Notification: Performance of matching and sorting (n=104): time 0.009563/1.202, allocations: 3.076 MB / 1.3 GB, free: 3.148 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.137e-05/1.202, allocations: 64.41 kB / 1.3 GB, free: 3.074 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005226/1.208, allocations: 3.268 MB / 1.303 GB, free: 15.79 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0006121/1.208, allocations: 57.7 kB / 1.303 GB, free: 15.72 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.001866/1.21, allocations: 1.721 MB / 1.305 GB, free: 13.99 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007557/1.211, allocations: 366.8 kB / 1.305 GB, free: 13.63 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008472/1.212, allocations: 435.1 kB / 1.306 GB, free: 13.2 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000167/1.212, allocations: 309 kB / 1.306 GB, free: 12.89 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002626/1.214, allocations: 1.074 MB / 1.307 GB, free: 11.81 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00297/1.217, allocations: 1.725 MB / 1.309 GB, free: 9.797 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005098/1.223, allocations: 2.686 MB / 1.311 GB, free: 6.875 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.059e-05/1.223, allocations: 4 kB / 1.311 GB, free: 6.871 MB / 1.045 GB Notification: Performance of matching and sorting (n=224) (initialization): time 0.007564/1.23, allocations: 3.413 MB / 1.315 GB, free: 3.434 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.995e-05/1.23, allocations: 16.03 kB / 1.315 GB, free: 3.418 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.62e-05/1.23, allocations: 16 kB / 1.315 GB, free: 3.402 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001546/1.232, allocations: 0.5576 MB / 1.315 GB, free: 2.832 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00195/1.234, allocations: 439.3 kB / 1.316 GB, free: 2.402 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002018/1.236, allocations: 2.584 MB / 1.318 GB, free: 15.71 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002538/1.238, allocations: 277.8 kB / 1.318 GB, free: 15.44 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002362/1.239, allocations: 139.9 kB / 1.318 GB, free: 15.3 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003033/1.242, allocations: 1.535 MB / 1.32 GB, free: 13.77 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002349/1.244, allocations: 1.569 MB / 1.322 GB, free: 11.91 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004154/1.248, allocations: 2.363 MB / 1.324 GB, free: 9.301 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.946e-06/1.248, allocations: 4 kB / 1.324 GB, free: 9.297 MB / 1.061 GB Notification: Performance of matching and sorting (n=224) (initialization_lambda0): time 0.007235/1.255, allocations: 3.127 MB / 1.327 GB, free: 6.152 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.862e-05/1.255, allocations: 12 kB / 1.327 GB, free: 6.141 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.743e-05/1.256, allocations: 20 kB / 1.327 GB, free: 6.121 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002375/1.258, allocations: 0.6555 MB / 1.328 GB, free: 5.453 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001779/1.26, allocations: 419.4 kB / 1.328 GB, free: 5.043 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01539/1.275, allocations: 11.85 MB / 1.34 GB, free: 8.52 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002814/1.278, allocations: 214.6 kB / 1.34 GB, free: 8.309 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003326/1.278, allocations: 124 kB / 1.34 GB, free: 8.188 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.000585/1.279, allocations: 287.7 kB / 1.34 GB, free: 7.898 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006406/1.28, allocations: 339.6 kB / 1.34 GB, free: 7.562 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006525/1.286, allocations: 2.639 MB / 1.343 GB, free: 4.895 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.111e-05/1.286, allocations: 19.94 kB / 1.343 GB, free: 4.875 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/1.286, allocations: 0 / 1.343 GB, free: 4.875 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.389e-05/1.286, allocations: 7.969 kB / 1.343 GB, free: 4.867 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009781/1.296, allocations: 4.775 MB / 1.348 GB, free: 16 kB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.044e-06/1.296, allocations: 0 / 1.348 GB, free: 16 kB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0014/1.297, allocations: 271.6 kB / 1.348 GB, free: 15.75 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009584/1.298, allocations: 339 kB / 1.348 GB, free: 15.41 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001133/1.298, allocations: 43.95 kB / 1.348 GB, free: 15.36 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00169/1.3, allocations: 2.506 MB / 1.351 GB, free: 12.75 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/1.3, allocations: 0 / 1.351 GB, free: 12.75 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006122/1.306, allocations: 2.409 MB / 1.353 GB, free: 10.3 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00168/1.308, allocations: 0.582 MB / 1.354 GB, free: 9.699 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004127/1.308, allocations: 28 kB / 1.354 GB, free: 9.672 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001636/1.31, allocations: 115.9 kB / 1.354 GB, free: 9.559 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001618/1.31, allocations: 81.14 kB / 1.354 GB, free: 9.477 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001594/1.31, allocations: 63.94 kB / 1.354 GB, free: 9.414 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.003335/1.314, allocations: 2.187 MB / 1.356 GB, free: 7.219 MB / 1.092 GB Notification: Performance of sort global known variables: time 3.2e-07/1.314, allocations: 4 kB / 1.356 GB, free: 7.215 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0054/1.319, allocations: 1.703 MB / 1.358 GB, free: 5.508 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.001884/1.321, allocations: 0.7412 MB / 1.359 GB, free: 4.77 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.01058/1.332, allocations: 4.25 MB / 1.363 GB, free: 484 kB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 9.318e-06/1.332, allocations: 2 kB / 1.363 GB, free: 484 kB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.00266/1.334, allocations: 0.9327 MB / 1.364 GB, free: 15.54 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007579/1.342, allocations: 1.64 MB / 1.365 GB, free: 13.93 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01195/1.354, allocations: 5.742 MB / 1.371 GB, free: 8.168 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002005/1.356, allocations: 2.168 MB / 1.373 GB, free: 5.977 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.003753/1.36, allocations: 0.8167 MB / 1.374 GB, free: 5.156 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008213/1.361, allocations: 267.3 kB / 1.374 GB, free: 4.895 MB / 1.107 GB Notification: Performance of SimCode: time 2.595e-06/1.361, allocations: 0 / 1.374 GB, free: 4.895 MB / 1.107 GB Notification: Performance of Templates: time 0.1285/1.489, allocations: 74.15 MB / 1.446 GB, free: 11.73 MB / 1.186 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches