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.005222/0.005222, allocations: 100.3 kB / 15.73 MB, free: 6.066 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.001152/0.001152, allocations: 196.1 kB / 16.68 MB, free: 5.973 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.326/1.326, 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.208/2.208, allocations: 390.2 MB / 0.6648 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 67.89 kB / 0.9508 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8479/0.8493, allocations: 140.4 MB / 1.088 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PumpCurveConstruction): time 0.106/0.9554, allocations: 102.6 MB / 1.188 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.05066/1.006, allocations: 32.46 MB / 1.22 GB, free: 1.418 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007576/1.014, allocations: 154.3 kB / 1.22 GB, free: 1.363 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.007157/1.021, allocations: 2.011 MB / 1.222 GB, free: 15.71 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.02235/1.043, allocations: 5.146 MB / 1.227 GB, free: 11.63 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.01527/1.059, allocations: 3.829 MB / 1.231 GB, free: 8.75 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.02368/1.082, allocations: 9.408 MB / 1.24 GB, free: 2.246 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009579/1.092, allocations: 3.511 MB / 1.243 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01315/1.105, allocations: 4.067 MB / 1.247 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006184/1.111, allocations: 2.976 MB / 1.25 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.001646/1.113, allocations: 396 kB / 1.251 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007488/1.12, allocations: 2.566 MB / 1.253 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.002164/1.123, allocations: 1.242 MB / 1.254 GB, free: 3.406 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.005056/1.128, allocations: 2.254 MB / 1.257 GB, free: 1.141 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.01283/1.141, allocations: 6.948 MB / 1.263 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/1.141, allocations: 0 / 1.263 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.956e-06/1.141, allocations: 0 / 1.263 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002052/1.141, allocations: 3.938 kB / 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.01058/1.151, allocations: 4.945 MB / 1.268 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 9.056e-05/1.152, allocations: 8.031 kB / 1.268 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009015/1.161, allocations: 1.528 MB / 1.27 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01204/1.173, allocations: 4.103 MB / 1.274 GB, free: 15.44 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002647/1.173, allocations: 176.1 kB / 1.274 GB, free: 15.27 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008022/1.174, allocations: 228 kB / 1.274 GB, free: 15.04 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007205/1.181, allocations: 2.714 MB / 1.277 GB, free: 12.2 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.684e-05/1.181, allocations: 3.938 kB / 1.277 GB, free: 12.19 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003365/1.181, allocations: 88 kB / 1.277 GB, free: 12.11 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.874e-05/1.181, allocations: 52 kB / 1.277 GB, free: 12.05 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005962/1.187, allocations: 2.092 MB / 1.279 GB, free: 9.961 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.02136/1.209, allocations: 12.57 MB / 1.291 GB, free: 12.52 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004408/1.213, allocations: 1.587 MB / 1.293 GB, free: 10.93 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002048/1.215, allocations: 0.7655 MB / 1.293 GB, free: 10.16 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007365/1.223, allocations: 3.728 MB / 1.297 GB, free: 6.141 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.4e-05/1.223, allocations: 43.56 kB / 1.297 GB, free: 6.09 MB / 1.029 GB Notification: Performance of pre-optimization done (n=104): time 2.916e-06/1.223, allocations: 4 kB / 1.297 GB, free: 6.086 MB / 1.029 GB Notification: Performance of matching and sorting (n=104): time 0.01013/1.233, allocations: 3.094 MB / 1.3 GB, free: 2.898 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.142e-05/1.233, allocations: 60.41 kB / 1.3 GB, free: 2.828 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006664/1.24, allocations: 3.261 MB / 1.303 GB, free: 15.55 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0003621/1.24, allocations: 57.7 kB / 1.303 GB, free: 15.49 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.00154/1.242, allocations: 1.743 MB / 1.305 GB, free: 13.73 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004655/1.242, allocations: 384.7 kB / 1.305 GB, free: 13.36 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006831/1.243, allocations: 447.2 kB / 1.306 GB, free: 12.91 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001067/1.243, allocations: 305.1 kB / 1.306 GB, free: 12.61 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002487/1.245, allocations: 1.082 MB / 1.307 GB, free: 11.52 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002973/1.248, allocations: 1.725 MB / 1.309 GB, free: 9.508 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005473/1.254, allocations: 2.678 MB / 1.312 GB, free: 6.594 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.74e-05/1.254, allocations: 8 kB / 1.312 GB, free: 6.586 MB / 1.045 GB Notification: Performance of matching and sorting (n=224) (initialization): time 0.007927/1.262, allocations: 3.43 MB / 1.315 GB, free: 3.133 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.772e-05/1.262, allocations: 12.97 kB / 1.315 GB, free: 3.121 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.671e-05/1.262, allocations: 20 kB / 1.315 GB, free: 3.102 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001532/1.263, allocations: 0.5459 MB / 1.315 GB, free: 2.543 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002003/1.265, allocations: 451.2 kB / 1.316 GB, free: 2.102 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00209/1.268, allocations: 2.596 MB / 1.318 GB, free: 15.4 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003016/1.271, allocations: 278.4 kB / 1.319 GB, free: 15.13 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003488/1.271, allocations: 131.9 kB / 1.319 GB, free: 15 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003614/1.275, allocations: 1.542 MB / 1.32 GB, free: 13.45 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00262/1.277, allocations: 1.553 MB / 1.322 GB, free: 11.61 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004778/1.282, allocations: 2.371 MB / 1.324 GB, free: 8.996 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.087e-06/1.282, allocations: 4 kB / 1.324 GB, free: 8.992 MB / 1.061 GB Notification: Performance of matching and sorting (n=224) (initialization_lambda0): time 0.007976/1.29, allocations: 3.143 MB / 1.327 GB, free: 5.832 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.327e-05/1.29, allocations: 12 kB / 1.327 GB, free: 5.82 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.209e-05/1.29, allocations: 16 kB / 1.327 GB, free: 5.805 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002228/1.292, allocations: 0.6598 MB / 1.328 GB, free: 5.133 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001662/1.294, allocations: 419.3 kB / 1.328 GB, free: 4.723 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01515/1.309, allocations: 11.87 MB / 1.34 GB, free: 8.184 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00329/1.312, allocations: 211.1 kB / 1.34 GB, free: 7.977 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004697/1.313, allocations: 120 kB / 1.34 GB, free: 7.859 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.0008471/1.314, allocations: 291.6 kB / 1.341 GB, free: 7.566 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001164/1.315, allocations: 357.6 kB / 1.341 GB, free: 7.215 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007747/1.323, allocations: 2.643 MB / 1.343 GB, free: 4.543 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.681e-05/1.323, allocations: 19.98 kB / 1.343 GB, free: 4.523 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/1.323, allocations: 4 kB / 1.343 GB, free: 4.52 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.846e-05/1.323, allocations: 7.969 kB / 1.343 GB, free: 4.512 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01235/1.335, allocations: 4.767 MB / 1.348 GB, free: 15.67 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-05/1.335, allocations: 4 kB / 1.348 GB, free: 15.66 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001475/1.337, allocations: 263.7 kB / 1.348 GB, free: 15.41 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009377/1.338, allocations: 335 kB / 1.349 GB, free: 15.07 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000122/1.338, allocations: 51.89 kB / 1.349 GB, free: 15.02 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002084/1.34, allocations: 2.502 MB / 1.351 GB, free: 12.41 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/1.34, allocations: 4.031 kB / 1.351 GB, free: 12.41 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006607/1.347, allocations: 2.423 MB / 1.354 GB, free: 9.945 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001928/1.349, allocations: 0.6035 MB / 1.354 GB, free: 9.32 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008557/1.349, allocations: 20 kB / 1.354 GB, free: 9.301 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002127/1.352, allocations: 119.8 kB / 1.354 GB, free: 9.184 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001759/1.352, allocations: 93.06 kB / 1.354 GB, free: 9.09 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001474/1.352, allocations: 63.94 kB / 1.354 GB, free: 9.027 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.004073/1.356, allocations: 2.175 MB / 1.357 GB, free: 6.844 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.4e-07/1.356, allocations: 3.938 kB / 1.357 GB, free: 6.84 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.005981/1.362, allocations: 1.727 MB / 1.358 GB, free: 5.109 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.002245/1.364, allocations: 0.736 MB / 1.359 GB, free: 4.371 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.01073/1.375, allocations: 4.266 MB / 1.363 GB, free: 60 kB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 5.149e-06/1.375, allocations: 3.938 kB / 1.363 GB, free: 56 kB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.002622/1.378, allocations: 0.9339 MB / 1.364 GB, free: 15.12 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007847/1.386, allocations: 1.637 MB / 1.366 GB, free: 13.51 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01069/1.396, allocations: 5.848 MB / 1.371 GB, free: 7.629 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001821/1.398, allocations: 2.164 MB / 1.373 GB, free: 5.441 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.003854/1.402, allocations: 0.8245 MB / 1.374 GB, free: 4.613 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007272/1.403, allocations: 271.3 kB / 1.375 GB, free: 4.348 MB / 1.107 GB Notification: Performance of SimCode: time 9.42e-07/1.403, allocations: 0 / 1.375 GB, free: 4.348 MB / 1.107 GB Notification: Performance of Templates: time 0.1249/1.528, allocations: 74.14 MB / 1.447 GB, free: 11.2 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