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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001009/0.001009, allocations: 91.84 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 181.5 kB / 16.92 MB, free: 6.652 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.456/1.456, allocations: 223.3 MB / 241 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.513/2.513, allocations: 390.9 MB / 0.667 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003621/0.000362, allocations: 8 kB / 0.8166 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7616/0.7619, allocations: 142.4 MB / 0.9557 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PumpCurveConstruction): time 0.1086/0.8706, allocations: 100.2 MB / 1.054 GB, free: 10.88 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.04892/0.9195, allocations: 32.19 MB / 1.085 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006485/0.9261, allocations: 135.1 kB / 1.085 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.005818/0.9319, allocations: 1.64 MB / 1.087 GB, free: 8.824 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.01429/0.9462, allocations: 4.555 MB / 1.091 GB, free: 4.254 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.009906/0.9562, allocations: 3.459 MB / 1.095 GB, free: 0.8164 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.01714/0.9733, allocations: 12.5 MB / 1.107 GB, free: 4.289 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006871/0.9802, allocations: 2.924 MB / 1.11 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0094/0.9897, allocations: 3.294 MB / 1.113 GB, free: 13.99 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006098/0.9958, allocations: 2.897 MB / 1.116 GB, free: 11.08 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.001514/0.9973, allocations: 156 kB / 1.116 GB, free: 10.93 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006772/1.004, allocations: 2.3 MB / 1.118 GB, free: 8.625 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.002079/1.006, allocations: 0.9999 MB / 1.119 GB, free: 7.621 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.005007/1.011, allocations: 2.002 MB / 1.121 GB, free: 5.602 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.009034/1.02, allocations: 5.221 MB / 1.126 GB, free: 376 kB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/1.02, allocations: 0 / 1.126 GB, free: 376 kB / 0.8731 GB Notification: Performance of FrontEnd: time 2.174e-06/1.02, allocations: 0 / 1.126 GB, free: 376 kB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0002677/1.021, allocations: 0 / 1.126 GB, free: 376 kB / 0.8731 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.01065/1.031, allocations: 4.082 MB / 1.13 GB, free: 12.21 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/1.031, allocations: 12.03 kB / 1.13 GB, free: 12.2 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009855/1.041, allocations: 1.6 MB / 1.132 GB, free: 10.59 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01281/1.054, allocations: 4.104 MB / 1.136 GB, free: 6.43 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003033/1.054, allocations: 184.8 kB / 1.136 GB, free: 6.246 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001019/1.055, allocations: 228 kB / 1.136 GB, free: 6.023 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008463/1.064, allocations: 2.718 MB / 1.139 GB, free: 3.184 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.137e-05/1.064, allocations: 7.938 kB / 1.139 GB, free: 3.176 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005272/1.065, allocations: 87.94 kB / 1.139 GB, free: 3.09 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.513e-05/1.065, allocations: 52 kB / 1.139 GB, free: 3.039 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006863/1.072, allocations: 2.139 MB / 1.141 GB, free: 0.8984 MB / 0.8887 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.02287/1.094, allocations: 12.34 MB / 1.153 GB, free: 3.699 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005135/1.1, allocations: 1.684 MB / 1.155 GB, free: 2.008 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002397/1.102, allocations: 0.7968 MB / 1.155 GB, free: 1.207 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008084/1.11, allocations: 3.802 MB / 1.159 GB, free: 13.12 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.491e-05/1.11, allocations: 47.56 kB / 1.159 GB, free: 13.06 MB / 0.92 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001516/1.112, allocations: 190.4 kB / 1.159 GB, free: 12.88 MB / 0.92 GB Notification: Performance of pre-optimization done (n=108): time 5.28e-06/1.112, allocations: 0 / 1.159 GB, free: 12.88 MB / 0.92 GB Notification: Performance of matching and sorting (n=108): time 0.01103/1.123, allocations: 3.174 MB / 1.162 GB, free: 9.605 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.465e-05/1.123, allocations: 68.41 kB / 1.162 GB, free: 9.523 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006542/1.129, allocations: 3.198 MB / 1.166 GB, free: 6.309 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0004774/1.13, allocations: 57.7 kB / 1.166 GB, free: 6.246 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.001807/1.132, allocations: 1.717 MB / 1.167 GB, free: 4.516 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006915/1.133, allocations: 382.4 kB / 1.168 GB, free: 4.137 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004647/1.133, allocations: 173.5 kB / 1.168 GB, free: 3.961 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001016/1.133, allocations: 309.1 kB / 1.168 GB, free: 3.656 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003168/1.136, allocations: 1.093 MB / 1.169 GB, free: 2.562 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003522/1.14, allocations: 1.756 MB / 1.171 GB, free: 0.5195 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006152/1.146, allocations: 2.76 MB / 1.174 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.282e-05/1.146, allocations: 4 kB / 1.174 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of matching and sorting (n=228) (initialization): time 0.009259/1.155, allocations: 3.476 MB / 1.177 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004804/1.156, allocations: 0.598 MB / 1.178 GB, free: 9.176 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.005e-05/1.156, allocations: 16 kB / 1.178 GB, free: 9.16 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001765/1.158, allocations: 0.5537 MB / 1.178 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002405/1.16, allocations: 459.2 kB / 1.179 GB, free: 8.145 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002447/1.163, allocations: 2.596 MB / 1.181 GB, free: 5.445 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003537/1.166, allocations: 235.8 kB / 1.181 GB, free: 5.215 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005142/1.167, allocations: 135.9 kB / 1.181 GB, free: 5.082 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/1.167, allocations: 4 kB / 1.181 GB, free: 5.078 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007911/1.175, allocations: 2.857 MB / 1.184 GB, free: 2.207 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.071e-05/1.175, allocations: 16 kB / 1.184 GB, free: 2.191 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002477/1.177, allocations: 0.648 MB / 1.185 GB, free: 1.531 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002094/1.179, allocations: 435.3 kB / 1.185 GB, free: 1.105 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01627/1.196, allocations: 10.57 MB / 1.196 GB, free: 5.891 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003233/1.199, allocations: 227.6 kB / 1.196 GB, free: 5.668 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005137/1.199, allocations: 120 kB / 1.196 GB, free: 5.551 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.0024/1.202, allocations: 0.8167 MB / 1.197 GB, free: 4.723 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00102/1.203, allocations: 343.6 kB / 1.197 GB, free: 4.383 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008341/1.211, allocations: 2.717 MB / 1.2 GB, free: 1.637 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-05/1.211, allocations: 19.98 kB / 1.2 GB, free: 1.617 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/1.211, allocations: 0 / 1.2 GB, free: 1.617 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.775e-05/1.211, allocations: 7.969 kB / 1.2 GB, free: 1.609 MB / 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.01342/1.225, allocations: 4.879 MB / 1.205 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.904e-06/1.225, allocations: 4.062 kB / 1.205 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001597/1.226, allocations: 275.6 kB / 1.205 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001023/1.227, allocations: 335 kB / 1.205 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001562/1.228, allocations: 51.89 kB / 1.205 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002151/1.23, allocations: 2.502 MB / 1.208 GB, free: 9.387 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/1.23, allocations: 0 / 1.208 GB, free: 9.387 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006812/1.237, allocations: 2.448 MB / 1.21 GB, free: 6.895 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001745/1.238, allocations: 0.5821 MB / 1.211 GB, free: 6.289 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008467/1.239, allocations: 27.94 kB / 1.211 GB, free: 6.262 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002763/1.242, allocations: 227.5 kB / 1.211 GB, free: 6.039 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002002/1.242, allocations: 77.2 kB / 1.211 GB, free: 5.965 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001995/1.242, allocations: 67.94 kB / 1.211 GB, free: 5.898 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.004866/1.247, allocations: 2.136 MB / 1.213 GB, free: 3.754 MB / 0.9669 GB Notification: Performance of sort global known variables: time 3.7e-07/1.247, allocations: 4 kB / 1.213 GB, free: 3.75 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.008698/1.256, allocations: 1.731 MB / 1.215 GB, free: 2.016 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.002789/1.259, allocations: 0.6912 MB / 1.215 GB, free: 1.324 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.012/1.271, allocations: 4.257 MB / 1.22 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 7.284e-06/1.271, allocations: 0 / 1.22 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.003034/1.274, allocations: 0.9446 MB / 1.221 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009517/1.283, allocations: 1.535 MB / 1.222 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01548/1.299, allocations: 7.264 MB / 1.229 GB, free: 3.266 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003043/1.302, allocations: 2.164 MB / 1.231 GB, free: 1.078 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001482/1.304, allocations: 283.3 kB / 1.232 GB, free: 0.8008 MB / 0.9825 GB Notification: Performance of SimCode: time 1.352e-06/1.304, allocations: 0 / 1.232 GB, free: 0.8008 MB / 0.9825 GB Notification: Performance of Templates: time 0.6933/1.997, allocations: 124.9 MB / 1.354 GB, free: 184.4 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/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