Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.Example4.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.Examples.Performance.Example4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.Example4") translateModel(Buildings.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.Example4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008105/0.0008104, allocations: 90.67 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.005068/0.005068, allocations: 170.4 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.367/1.367, 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.383/2.383, allocations: 390.9 MB / 0.6663 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003693/0.0003691, allocations: 8 kB / 0.8159 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6503/0.6507, allocations: 142.4 MB / 0.955 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.2435/0.8943, allocations: 232.2 MB / 1.182 GB, free: 6.336 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02256/0.9169, allocations: 15.75 MB / 1.197 GB, free: 6.543 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003477/0.9204, allocations: 51.62 kB / 1.197 GB, free: 6.492 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.003844/0.9243, allocations: 0.8705 MB / 1.198 GB, free: 5.617 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.009568/0.9339, allocations: 2.801 MB / 1.201 GB, free: 2.809 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.004224/0.9381, allocations: 1.504 MB / 1.202 GB, free: 1.312 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.005938/0.9441, allocations: 4.658 MB / 1.207 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001749/0.9458, allocations: 1.036 MB / 1.208 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006381/0.9522, allocations: 2.225 MB / 1.21 GB, free: 9.352 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002784/0.955, allocations: 1.061 MB / 1.211 GB, free: 8.293 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0003409/0.9554, allocations: 48 kB / 1.211 GB, free: 8.246 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007299/0.9627, allocations: 3.581 MB / 1.215 GB, free: 4.656 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0007105/0.9634, allocations: 406.4 kB / 1.215 GB, free: 4.258 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001713/0.9652, allocations: 0.7437 MB / 1.216 GB, free: 3.504 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.006394/0.9716, allocations: 3.049 MB / 1.219 GB, free: 456 kB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.9716, allocations: 0 / 1.219 GB, free: 456 kB / 0.9669 GB Notification: Performance of FrontEnd: time 1.994e-06/0.9716, allocations: 0 / 1.219 GB, free: 456 kB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.957e-05/0.9717, allocations: 4 kB / 1.219 GB, free: 452 kB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.004174/0.9759, allocations: 1.718 MB / 1.22 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.043e-05/0.9759, allocations: 12.03 kB / 1.22 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003191/0.9791, allocations: 0.5327 MB / 1.221 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002654/0.9818, allocations: 1.118 MB / 1.222 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001056/0.9829, allocations: 273.8 kB / 1.222 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002347/0.9831, allocations: 104 kB / 1.222 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002927/0.9861, allocations: 1.334 MB / 1.224 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.653e-05/0.9861, allocations: 3.938 kB / 1.224 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001279/0.9863, allocations: 44 kB / 1.224 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.925e-05/0.9863, allocations: 42 kB / 1.224 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002758/0.9891, allocations: 1.12 MB / 1.225 GB, free: 9.945 MB / 0.9825 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.008783/0.9979, allocations: 6.646 MB / 1.231 GB, free: 2.855 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001845/0.9998, allocations: 0.6042 MB / 1.232 GB, free: 2.246 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007196/1, allocations: 289.2 kB / 1.232 GB, free: 1.961 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004036/1.001, allocations: 287.5 kB / 1.233 GB, free: 1.625 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.555e-05/1.001, allocations: 42.78 kB / 1.233 GB, free: 1.574 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=33): time 2.504e-06/1.001, allocations: 0 / 1.233 GB, free: 1.574 MB / 0.9825 GB Notification: Performance of matching and sorting (n=33): time 0.002947/1.004, allocations: 0.9023 MB / 1.233 GB, free: 0.6641 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.484e-05/1.004, allocations: 59.41 kB / 1.233 GB, free: 0.5938 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002006/1.006, allocations: 1.362 MB / 1.235 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.024e-05/1.006, allocations: 37.7 kB / 1.235 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005514/1.007, allocations: 0.6834 MB / 1.236 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001164/1.007, allocations: 118.4 kB / 1.236 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.416e-05/1.007, allocations: 53.7 kB / 1.236 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001212/1.007, allocations: 334 kB / 1.236 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009096/1.008, allocations: 329.1 kB / 1.236 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001127/1.009, allocations: 0.6496 MB / 1.237 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001828/1.011, allocations: 0.8819 MB / 1.238 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.129e-06/1.011, allocations: 0 / 1.238 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002532/1.013, allocations: 1.051 MB / 1.239 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002502/1.014, allocations: 374.5 kB / 1.239 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/1.014, allocations: 8 kB / 1.239 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.53e-05/1.014, allocations: 12 kB / 1.239 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008659/1.015, allocations: 203.7 kB / 1.239 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.134e-05/1.015, allocations: 19.92 kB / 1.239 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001573/1.016, allocations: 230.7 kB / 1.24 GB, free: 9.836 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.05e-05/1.016, allocations: 39.92 kB / 1.24 GB, free: 9.797 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.011e-05/1.016, allocations: 4.781 kB / 1.24 GB, free: 9.793 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002227/1.019, allocations: 0.8898 MB / 1.241 GB, free: 8.902 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/1.019, allocations: 12 kB / 1.241 GB, free: 8.891 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/1.019, allocations: 12 kB / 1.241 GB, free: 8.879 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008074/1.019, allocations: 200.2 kB / 1.241 GB, free: 8.684 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.525e-05/1.019, allocations: 23.92 kB / 1.241 GB, free: 8.66 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001405/1.021, allocations: 191.1 kB / 1.241 GB, free: 8.473 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.188e-05/1.021, allocations: 35.98 kB / 1.241 GB, free: 8.438 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (78): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006593/1.022, allocations: 420.7 kB / 1.241 GB, free: 8.016 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002122/1.022, allocations: 138.2 kB / 1.242 GB, free: 7.879 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001805/1.024, allocations: 0.6952 MB / 1.242 GB, free: 7.172 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/1.024, allocations: 4 kB / 1.242 GB, free: 7.168 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/1.024, allocations: 0 / 1.242 GB, free: 7.168 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/1.024, allocations: 0 / 1.242 GB, free: 7.168 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003712/1.027, allocations: 1.974 MB / 1.244 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/1.027, allocations: 7.938 kB / 1.244 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005364/1.028, allocations: 103.9 kB / 1.244 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.153e-05/1.028, allocations: 8 kB / 1.244 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.495e-05/1.028, allocations: 11.98 kB / 1.244 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.205e-06/1.028, allocations: 8 kB / 1.244 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.163e-06/1.028, allocations: 7.938 kB / 1.244 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001754/1.03, allocations: 0.8462 MB / 1.245 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000497/1.03, allocations: 303.1 kB / 1.245 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001961/1.031, allocations: 11.98 kB / 1.245 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001158/1.032, allocations: 103.9 kB / 1.246 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.673e-05/1.032, allocations: 39.83 kB / 1.246 GB, free: 3.559 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.542e-05/1.032, allocations: 31.92 kB / 1.246 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001534/1.033, allocations: 0.9964 MB / 1.247 GB, free: 2.535 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.1e-07/1.033, allocations: 0 / 1.247 GB, free: 2.535 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001742/1.035, allocations: 0.5733 MB / 1.247 GB, free: 1.961 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005487/1.036, allocations: 265.8 kB / 1.247 GB, free: 1.695 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003027/1.039, allocations: 1.138 MB / 1.248 GB, free: 0.5625 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/1.039, allocations: 0 / 1.248 GB, free: 0.5625 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007267/1.04, allocations: 280.9 kB / 1.249 GB, free: 296 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.5048/1.544, allocations: 0.7712 MB / 1.25 GB, free: 284.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005629/1.55, allocations: 2.719 MB / 1.252 GB, free: 282.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009069/1.551, allocations: 1.183 MB / 1.253 GB, free: 282.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002014/1.553, allocations: 361.1 kB / 1.254 GB, free: 282.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003537/1.553, allocations: 104.9 kB / 1.254 GB, free: 282.1 MB / 0.9981 GB Notification: Performance of SimCode: time 8.52e-07/1.553, allocations: 0 / 1.254 GB, free: 282.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.04991/1.603, allocations: 25.43 MB / 1.279 GB, free: 271.4 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.Example4.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example4.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.Example4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.Example4_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_Example4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Examples.Performance.Example4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches