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.001063/0.001063, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001243/0.001243, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.54/1.54, allocations: 223.3 MB / 240 MB, free: 5.305 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.398/2.398, allocations: 390.9 MB / 0.666 GB, free: 2.418 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004992/0.0004992, allocations: 16 kB / 0.8154 GB, free: 13.62 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7796/0.7801, allocations: 142.4 MB / 0.9544 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PumpCurveConstruction): time 0.08939/0.8696, allocations: 94.57 MB / 1.047 GB, free: 0.6875 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.04424/0.9138, allocations: 30.48 MB / 1.077 GB, free: 2.145 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005806/0.9197, allocations: 131.1 kB / 1.077 GB, free: 2.016 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.00567/0.9254, allocations: 1.312 MB / 1.078 GB, free: 0.6953 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0141/0.9395, allocations: 3.931 MB / 1.082 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.01223/0.9517, allocations: 2.852 MB / 1.085 GB, free: 9.922 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.01771/0.9695, allocations: 10.65 MB / 1.095 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007221/0.9768, allocations: 2.637 MB / 1.098 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008958/0.9858, allocations: 3.166 MB / 1.101 GB, free: 9.371 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006942/0.9927, allocations: 2.73 MB / 1.103 GB, free: 6.629 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.001537/0.9943, allocations: 156 kB / 1.103 GB, free: 6.477 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006594/1.001, allocations: 1.786 MB / 1.105 GB, free: 4.688 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.002553/1.003, allocations: 0.9689 MB / 1.106 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.002815/1.006, allocations: 0.8276 MB / 1.107 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.009457/1.016, allocations: 5.132 MB / 1.112 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/1.016, allocations: 0 / 1.112 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.674e-06/1.016, allocations: 0 / 1.112 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0003252/1.016, allocations: 0 / 1.112 GB, free: 13.73 MB / 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.01105/1.027, allocations: 4.121 MB / 1.116 GB, free: 9.539 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/1.027, allocations: 16.02 kB / 1.116 GB, free: 9.523 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008468/1.036, allocations: 1.599 MB / 1.118 GB, free: 7.918 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01205/1.048, allocations: 3.954 MB / 1.121 GB, free: 3.906 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002375/1.048, allocations: 180.8 kB / 1.122 GB, free: 3.727 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006908/1.049, allocations: 228 kB / 1.122 GB, free: 3.504 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005595/1.054, allocations: 2.704 MB / 1.124 GB, free: 0.6797 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.775e-05/1.055, allocations: 3.938 kB / 1.124 GB, free: 0.6758 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002059/1.055, allocations: 88 kB / 1.125 GB, free: 0.5898 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.243e-05/1.055, allocations: 56 kB / 1.125 GB, free: 0.5352 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005193/1.06, allocations: 2.119 MB / 1.127 GB, free: 14.41 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.01856/1.079, allocations: 12.33 MB / 1.139 GB, free: 1.219 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003937/1.083, allocations: 1.678 MB / 1.14 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001882/1.084, allocations: 0.7896 MB / 1.141 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00677/1.091, allocations: 3.805 MB / 1.145 GB, free: 10.65 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.402e-05/1.091, allocations: 47.5 kB / 1.145 GB, free: 10.59 MB / 0.9044 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00163/1.093, allocations: 190.4 kB / 1.145 GB, free: 10.41 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=108): time 3.917e-06/1.093, allocations: 0 / 1.145 GB, free: 10.41 MB / 0.9044 GB Notification: Performance of matching and sorting (n=108): time 0.008776/1.102, allocations: 3.166 MB / 1.148 GB, free: 7.145 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.938e-05/1.102, allocations: 68.41 kB / 1.148 GB, free: 7.062 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004467/1.106, allocations: 3.174 MB / 1.151 GB, free: 3.871 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0003657/1.107, allocations: 57.7 kB / 1.151 GB, free: 3.809 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.001406/1.108, allocations: 1.717 MB / 1.153 GB, free: 2.078 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004606/1.109, allocations: 378.5 kB / 1.153 GB, free: 1.703 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001228/1.109, allocations: 32 kB / 1.153 GB, free: 1.672 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001527/1.109, allocations: 377.9 kB / 1.154 GB, free: 1.297 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002131/1.111, allocations: 0.8471 MB / 1.155 GB, free: 460 kB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002532/1.114, allocations: 1.51 MB / 1.156 GB, free: 14.65 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002343/1.116, allocations: 0.99 MB / 1.157 GB, free: 13.66 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.038e-05/1.116, allocations: 4 kB / 1.157 GB, free: 13.66 MB / 0.92 GB Notification: Performance of matching and sorting (n=228) (initialization): time 0.006952/1.123, allocations: 2.847 MB / 1.16 GB, free: 10.79 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004987/1.123, allocations: 0.5977 MB / 1.16 GB, free: 9.949 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.696e-05/1.123, allocations: 16 kB / 1.16 GB, free: 9.934 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001198/1.125, allocations: 343.1 kB / 1.161 GB, free: 9.586 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001901/1.127, allocations: 451.3 kB / 1.161 GB, free: 9.145 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002066/1.129, allocations: 2.6 MB / 1.164 GB, free: 6.441 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002903/1.132, allocations: 227.7 kB / 1.164 GB, free: 6.219 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003062/1.132, allocations: 147.9 kB / 1.164 GB, free: 6.074 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/1.132, allocations: 4 kB / 1.164 GB, free: 6.07 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006187/1.138, allocations: 2.837 MB / 1.167 GB, free: 3.219 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.559e-05/1.138, allocations: 20.25 kB / 1.167 GB, free: 3.199 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002086/1.14, allocations: 0.6474 MB / 1.168 GB, free: 2.539 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001793/1.142, allocations: 435.3 kB / 1.168 GB, free: 2.113 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01429/1.156, allocations: 10.61 MB / 1.178 GB, free: 6.844 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002889/1.159, allocations: 227.7 kB / 1.179 GB, free: 6.621 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000322/1.16, allocations: 120 kB / 1.179 GB, free: 6.504 MB / 0.9356 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.001931/1.162, allocations: 0.8168 MB / 1.179 GB, free: 5.676 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007666/1.162, allocations: 343.5 kB / 1.18 GB, free: 5.336 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006615/1.169, allocations: 2.713 MB / 1.182 GB, free: 2.602 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-05/1.169, allocations: 16 kB / 1.182 GB, free: 2.586 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/1.169, allocations: 0 / 1.182 GB, free: 2.586 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.69e-05/1.169, allocations: 7.969 kB / 1.182 GB, free: 2.578 MB / 0.9356 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.01059/1.18, allocations: 4.867 MB / 1.187 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.195e-06/1.18, allocations: 0 / 1.187 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001397/1.181, allocations: 267.7 kB / 1.187 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008994/1.182, allocations: 339 kB / 1.188 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001086/1.182, allocations: 47.95 kB / 1.188 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001718/1.184, allocations: 2.502 MB / 1.19 GB, free: 10.37 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/1.184, allocations: 4.031 kB / 1.19 GB, free: 10.37 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005734/1.19, allocations: 2.436 MB / 1.193 GB, free: 7.895 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00176/1.191, allocations: 0.5782 MB / 1.193 GB, free: 7.293 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000439/1.192, allocations: 24 kB / 1.193 GB, free: 7.27 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001802/1.194, allocations: 223.6 kB / 1.193 GB, free: 7.051 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001522/1.194, allocations: 89.17 kB / 1.194 GB, free: 6.961 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001386/1.194, allocations: 67.94 kB / 1.194 GB, free: 6.895 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.003659/1.198, allocations: 2.101 MB / 1.196 GB, free: 4.785 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.21e-07/1.198, allocations: 0 / 1.196 GB, free: 4.785 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.006524/1.204, allocations: 1.738 MB / 1.197 GB, free: 3.043 MB / 0.9512 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 5,1 5,1 5,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001961/1.206, allocations: 0.6776 MB / 1.198 GB, free: 2.367 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.01018/1.216, allocations: 4.002 MB / 1.202 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.11e-05/1.217, allocations: 0 / 1.202 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.002541/1.219, allocations: 0.9495 MB / 1.203 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008312/1.227, allocations: 1.554 MB / 1.204 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01225/1.24, allocations: 6.821 MB / 1.211 GB, free: 4.992 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001844/1.242, allocations: 2.164 MB / 1.213 GB, free: 2.805 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.004835/1.246, allocations: 0.8286 MB / 1.214 GB, free: 1.973 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008091/1.247, allocations: 275.3 kB / 1.214 GB, free: 1.703 MB / 0.9669 GB Notification: Performance of SimCode: time 1.343e-06/1.247, allocations: 0 / 1.214 GB, free: 1.703 MB / 0.9669 GB Notification: Performance of Templates: time 0.6784/1.926, allocations: 70.53 MB / 1.283 GB, free: 250.8 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