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.0009755/0.0009755, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.008688/0.008688, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.454/1.454, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.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.389/2.389, allocations: 390.9 MB / 0.6663 GB, free: 2.312 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000372/0.000372, allocations: 15.94 kB / 0.8159 GB, free: 13.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7313/0.7317, allocations: 142.4 MB / 0.955 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PumpCurveConstruction): time 0.1129/0.8447, allocations: 100.2 MB / 1.053 GB, free: 10.85 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0534/0.8981, allocations: 32.18 MB / 1.084 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008138/0.9063, allocations: 135.1 kB / 1.084 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.007154/0.9135, allocations: 1.644 MB / 1.086 GB, free: 8.805 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.01782/0.9313, allocations: 4.562 MB / 1.09 GB, free: 4.227 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.01118/0.9426, allocations: 3.457 MB / 1.094 GB, free: 0.7969 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.017/0.9596, allocations: 12.5 MB / 1.106 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006082/0.9657, allocations: 2.912 MB / 1.109 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008919/0.9746, allocations: 3.302 MB / 1.112 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006002/0.9807, allocations: 2.889 MB / 1.115 GB, free: 11.07 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.001097/0.9818, allocations: 156 kB / 1.115 GB, free: 10.92 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006377/0.9882, allocations: 2.308 MB / 1.117 GB, free: 8.609 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.001608/0.9898, allocations: 1.008 MB / 1.118 GB, free: 7.598 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.003494/0.9933, allocations: 1.994 MB / 1.12 GB, free: 5.586 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.01034/1.004, allocations: 6.552 MB / 1.127 GB, free: 15.01 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/1.004, allocations: 0 / 1.127 GB, free: 15.01 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.094e-06/1.004, allocations: 0 / 1.127 GB, free: 15.01 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0001752/1.004, allocations: 4 kB / 1.127 GB, free: 15.01 MB / 0.8887 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.008801/1.013, allocations: 4.071 MB / 1.131 GB, free: 10.86 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/1.013, allocations: 11.97 kB / 1.131 GB, free: 10.85 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008758/1.022, allocations: 1.611 MB / 1.132 GB, free: 9.234 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009747/1.031, allocations: 4.105 MB / 1.136 GB, free: 5.07 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002114/1.032, allocations: 188.8 kB / 1.136 GB, free: 4.883 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005565/1.032, allocations: 224 kB / 1.137 GB, free: 4.664 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005607/1.038, allocations: 2.722 MB / 1.139 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.771e-05/1.038, allocations: 0 / 1.139 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000221/1.038, allocations: 91.94 kB / 1.139 GB, free: 1.73 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-05/1.038, allocations: 52 kB / 1.139 GB, free: 1.68 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005381/1.043, allocations: 2.139 MB / 1.142 GB, free: 15.54 MB / 0.9044 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.061, allocations: 12.33 MB / 1.154 GB, free: 2.344 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004229/1.065, allocations: 1.685 MB / 1.155 GB, free: 0.6523 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002061/1.068, allocations: 0.8046 MB / 1.156 GB, free: 15.84 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007284/1.075, allocations: 3.802 MB / 1.16 GB, free: 11.75 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.996e-05/1.075, allocations: 47.5 kB / 1.16 GB, free: 11.7 MB / 0.92 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001466/1.076, allocations: 190.4 kB / 1.16 GB, free: 11.51 MB / 0.92 GB Notification: Performance of pre-optimization done (n=108): time 4.769e-06/1.076, allocations: 0 / 1.16 GB, free: 11.51 MB / 0.92 GB Notification: Performance of matching and sorting (n=108): time 0.009392/1.086, allocations: 3.174 MB / 1.163 GB, free: 8.242 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.106e-05/1.086, allocations: 68.34 kB / 1.163 GB, free: 8.16 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004521/1.09, allocations: 3.21 MB / 1.166 GB, free: 4.934 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0002954/1.091, allocations: 53.7 kB / 1.166 GB, free: 4.875 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.001436/1.092, allocations: 1.721 MB / 1.168 GB, free: 3.141 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004921/1.093, allocations: 382.5 kB / 1.168 GB, free: 2.762 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002934/1.093, allocations: 169.6 kB / 1.168 GB, free: 2.59 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.586e-05/1.093, allocations: 305.1 kB / 1.169 GB, free: 2.289 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002613/1.096, allocations: 1.097 MB / 1.17 GB, free: 1.191 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003066/1.099, allocations: 1.752 MB / 1.172 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005386/1.104, allocations: 2.756 MB / 1.174 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.287e-05/1.104, allocations: 8 kB / 1.174 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of matching and sorting (n=228) (initialization): time 0.008047/1.112, allocations: 3.472 MB / 1.178 GB, free: 8.648 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004664/1.113, allocations: 0.6056 MB / 1.178 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.672e-05/1.113, allocations: 20 kB / 1.178 GB, free: 7.785 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001529/1.114, allocations: 0.5498 MB / 1.179 GB, free: 7.223 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002131/1.116, allocations: 451.3 kB / 1.179 GB, free: 6.781 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002102/1.119, allocations: 2.596 MB / 1.182 GB, free: 4.082 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003187/1.122, allocations: 243.6 kB / 1.182 GB, free: 3.844 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003291/1.122, allocations: 139.9 kB / 1.182 GB, free: 3.707 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/1.122, allocations: 4 kB / 1.182 GB, free: 3.703 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006667/1.129, allocations: 2.853 MB / 1.185 GB, free: 0.8359 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.655e-05/1.129, allocations: 16 kB / 1.185 GB, free: 0.8203 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002268/1.131, allocations: 0.6475 MB / 1.186 GB, free: 164 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001859/1.133, allocations: 431.3 kB / 1.186 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01487/1.148, allocations: 10.57 MB / 1.196 GB, free: 4.523 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0031/1.151, allocations: 227.7 kB / 1.197 GB, free: 4.301 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006396/1.152, allocations: 120 kB / 1.197 GB, free: 4.184 MB / 0.9512 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 (200): * Single equations (assignments): 192 * 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.003076/1.155, allocations: 0.8108 MB / 1.197 GB, free: 3.363 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001206/1.156, allocations: 339.6 kB / 1.198 GB, free: 3.027 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007689/1.164, allocations: 2.729 MB / 1.2 GB, free: 276 kB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.86e-05/1.164, allocations: 15.98 kB / 1.2 GB, free: 260 kB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.906e-06/1.164, allocations: 3.938 kB / 1.2 GB, free: 256 kB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.674e-05/1.164, allocations: 3.984 kB / 1.2 GB, free: 252 kB / 0.9512 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 postOpt removeSimpleEquations (simulation): time 0.01265/1.177, allocations: 4.879 MB / 1.205 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.716e-06/1.177, allocations: 0 / 1.205 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001463/1.178, allocations: 275.7 kB / 1.205 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009664/1.179, allocations: 327 kB / 1.206 GB, free: 10.69 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001282/1.179, allocations: 51.89 kB / 1.206 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001969/1.181, allocations: 2.506 MB / 1.208 GB, free: 8.031 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/1.181, allocations: 0 / 1.208 GB, free: 8.031 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00659/1.188, allocations: 2.452 MB / 1.211 GB, free: 5.535 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001869/1.19, allocations: 0.5782 MB / 1.211 GB, free: 4.934 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008678/1.191, allocations: 31.94 kB / 1.211 GB, free: 4.902 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00288/1.193, allocations: 215.5 kB / 1.211 GB, free: 4.691 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002238/1.194, allocations: 81.19 kB / 1.212 GB, free: 4.613 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002012/1.194, allocations: 71.94 kB / 1.212 GB, free: 4.543 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.005308/1.199, allocations: 2.136 MB / 1.214 GB, free: 2.398 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.6e-07/1.199, allocations: 3.938 kB / 1.214 GB, free: 2.395 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.006877/1.206, allocations: 1.746 MB / 1.215 GB, free: 0.6445 MB / 0.9669 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 (113): * Single equations (assignments): 100 * 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.001726/1.208, allocations: 0.6919 MB / 1.216 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.009867/1.218, allocations: 4.249 MB / 1.22 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 9.958e-06/1.218, allocations: 4 kB / 1.22 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.002602/1.22, allocations: 0.9489 MB / 1.221 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009885/1.23, allocations: 1.535 MB / 1.223 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02124/1.252, allocations: 7.111 MB / 1.23 GB, free: 2.051 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003115/1.255, allocations: 2.164 MB / 1.232 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.008083/1.263, allocations: 0.8286 MB / 1.233 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001365/1.264, allocations: 275.3 kB / 1.233 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of SimCode: time 1.122e-06/1.264, allocations: 0 / 1.233 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of Templates: time 0.6752/1.94, allocations: 72.36 MB / 1.303 GB, free: 236.2 MB / 0.9981 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