Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001336/0.001336, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001623/0.001623, allocations: 187.7 kB / 16.25 MB, free: 6.633 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: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.716/2.716, allocations: 437 MB / 0.71 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002264/0.002265, allocations: 63.89 kB / 0.8687 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8605/0.8628, allocations: 151.6 MB / 1.017 GB, free: 2.758 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.2837/1.147, allocations: 234.7 MB / 1.246 GB, free: 7.195 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.7829/1.93, allocations: 15.67 MB / 1.261 GB, free: 2.039 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003764/1.933, allocations: 53.75 kB / 1.261 GB, free: 2.039 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004987/1.938, allocations: 0.9143 MB / 1.262 GB, free: 2.039 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01465/1.953, allocations: 2.799 MB / 1.265 GB, free: 1.945 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.007473/1.961, allocations: 1.529 MB / 1.266 GB, free: 1.895 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.008738/1.969, allocations: 3.45 MB / 1.27 GB, free: 1.879 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003596/1.973, allocations: 1.249 MB / 1.271 GB, free: 1.738 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01083/1.984, allocations: 2.478 MB / 1.273 GB, free: 1.703 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005317/1.989, allocations: 1.152 MB / 1.275 GB, free: 1.695 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0009519/1.99, allocations: 125.2 kB / 1.275 GB, free: 1.695 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01165/2.002, allocations: 3.264 MB / 1.278 GB, free: 1.664 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001613/2.004, allocations: 490.1 kB / 1.278 GB, free: 1.664 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002918/2.006, allocations: 0.8105 MB / 1.279 GB, free: 1.664 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01069/2.017, allocations: 3.147 MB / 1.282 GB, free: 1.477 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 1.029e-05/2.017, allocations: 4.234 kB / 1.282 GB, free: 1.477 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.144e-06/2.017, allocations: 0 / 1.282 GB, free: 1.477 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.745e-05/2.017, allocations: 1.031 kB / 1.282 GB, free: 1.477 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: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.008074/2.025, allocations: 2.001 MB / 1.284 GB, free: 16.44 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/2.026, allocations: 11.94 kB / 1.284 GB, free: 16.44 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005376/2.031, allocations: 0.502 MB / 1.285 GB, free: 16.36 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004486/2.035, allocations: 1.108 MB / 1.286 GB, free: 15.96 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00164/2.037, allocations: 249.1 kB / 1.286 GB, free: 15.96 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004111/2.038, allocations: 98.53 kB / 1.286 GB, free: 15.96 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004555/2.042, allocations: 1.32 MB / 1.287 GB, free: 15.68 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.936e-05/2.042, allocations: 7.469 kB / 1.287 GB, free: 15.68 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000232/2.042, allocations: 39.41 kB / 1.287 GB, free: 15.68 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.892e-05/2.043, allocations: 46.33 kB / 1.287 GB, free: 15.68 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004113/2.047, allocations: 1.078 MB / 1.289 GB, free: 15.67 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.01363/2.06, allocations: 6.625 MB / 1.295 GB, free: 11.52 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002486/2.063, allocations: 0.5596 MB / 1.296 GB, free: 11.5 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009473/2.064, allocations: 271.9 kB / 1.296 GB, free: 11.49 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005521/2.064, allocations: 284.8 kB / 1.296 GB, free: 11.21 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.549e-05/2.065, allocations: 37.94 kB / 1.296 GB, free: 11.17 MB / 1.014 GB Notification: Performance of pre-optimization done (n=33): time 3.076e-06/2.065, allocations: 2.125 kB / 1.296 GB, free: 11.17 MB / 1.014 GB Notification: Performance of matching and sorting (n=33): time 0.00409/2.069, allocations: 0.8676 MB / 1.297 GB, free: 11.05 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.675e-05/2.069, allocations: 57.56 kB / 1.297 GB, free: 10.99 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003399/2.072, allocations: 1.357 MB / 1.298 GB, free: 10.82 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001436/2.072, allocations: 36.89 kB / 1.298 GB, free: 10.79 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008115/2.073, allocations: 0.6856 MB / 1.299 GB, free: 10.54 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001956/2.073, allocations: 121.9 kB / 1.299 GB, free: 10.47 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004134/2.074, allocations: 150.2 kB / 1.299 GB, free: 10.44 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001901/2.074, allocations: 328.9 kB / 1.3 GB, free: 10.14 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001297/2.075, allocations: 313.8 kB / 1.3 GB, free: 10.13 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001642/2.077, allocations: 0.6253 MB / 1.301 GB, free: 9.75 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002604/2.08, allocations: 0.8636 MB / 1.301 GB, free: 9.41 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.658e-05/2.08, allocations: 5.188 kB / 1.301 GB, free: 9.41 MB / 1.014 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.00398/2.084, allocations: 0.9921 MB / 1.302 GB, free: 9.289 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.137e-05/2.084, allocations: 11.09 kB / 1.302 GB, free: 9.289 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.174e-05/2.084, allocations: 12.3 kB / 1.302 GB, free: 9.285 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.818e-05/2.084, allocations: 17.16 kB / 1.302 GB, free: 9.281 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001386/2.085, allocations: 195 kB / 1.303 GB, free: 9.277 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.301e-05/2.085, allocations: 23.22 kB / 1.303 GB, free: 9.273 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002878/2.088, allocations: 208.8 kB / 1.303 GB, free: 9.215 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001292/2.088, allocations: 38.83 kB / 1.303 GB, free: 9.215 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00205/2.09, allocations: 0.5668 MB / 1.303 GB, free: 9.121 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001686/2.092, allocations: 0.6238 MB / 1.304 GB, free: 8.727 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00275/2.095, allocations: 0.855 MB / 1.305 GB, free: 8.359 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.489e-05/2.095, allocations: 2.594 kB / 1.305 GB, free: 8.359 MB / 1.014 GB Notification: Performance of matching and sorting (n=78) (initialization_lambda0): time 0.003895/2.099, allocations: 0.9927 MB / 1.306 GB, free: 8.234 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/2.099, allocations: 8.469 kB / 1.306 GB, free: 8.234 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.927e-05/2.099, allocations: 14.83 kB / 1.306 GB, free: 8.234 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.964e-05/2.099, allocations: 17.17 kB / 1.306 GB, free: 8.23 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001227/2.1, allocations: 195.3 kB / 1.306 GB, free: 8.223 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.349e-05/2.1, allocations: 18.78 kB / 1.306 GB, free: 8.223 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002518/2.103, allocations: 157.6 kB / 1.306 GB, free: 8.191 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001168/2.103, allocations: 40.7 kB / 1.306 GB, free: 8.188 MB / 1.014 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.0003885/2.103, allocations: 231.8 kB / 1.306 GB, free: 8.004 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000521/2.104, allocations: 136.5 kB / 1.307 GB, free: 7.934 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002986/2.107, allocations: 0.6512 MB / 1.307 GB, free: 7.848 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-05/2.107, allocations: 9.031 kB / 1.307 GB, free: 7.844 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.12e-05/2.107, allocations: 0 / 1.307 GB, free: 7.844 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/2.107, allocations: 7.062 kB / 1.307 GB, free: 7.844 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006274/2.113, allocations: 1.925 MB / 1.309 GB, free: 7.359 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.387e-05/2.113, allocations: 5.562 kB / 1.309 GB, free: 7.359 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008978/2.114, allocations: 104.9 kB / 1.309 GB, free: 7.352 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.478e-05/2.114, allocations: 6.156 kB / 1.309 GB, free: 7.352 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.982e-05/2.114, allocations: 12.11 kB / 1.309 GB, free: 7.352 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.178e-05/2.114, allocations: 13.75 kB / 1.309 GB, free: 7.344 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.093e-06/2.114, allocations: 7.875 kB / 1.309 GB, free: 7.344 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002728/2.117, allocations: 0.8109 MB / 1.31 GB, free: 6.988 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001053/2.118, allocations: 301.2 kB / 1.31 GB, free: 6.812 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005958/2.119, allocations: 14.19 kB / 1.31 GB, free: 6.809 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001837/2.12, allocations: 99.3 kB / 1.31 GB, free: 6.797 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/2.121, allocations: 45.41 kB / 1.31 GB, free: 6.785 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.734e-05/2.121, allocations: 21.72 kB / 1.311 GB, free: 6.785 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002398/2.123, allocations: 0.9887 MB / 1.311 GB, free: 6.676 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.31e-07/2.123, allocations: 4 kB / 1.311 GB, free: 6.672 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002596/2.126, allocations: 0.5649 MB / 1.312 GB, free: 6.625 MB / 1.014 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.0006688/2.126, allocations: 263.5 kB / 1.312 GB, free: 6.504 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002841/2.129, allocations: 1.108 MB / 1.313 GB, free: 6.465 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/2.129, allocations: 0 / 1.313 GB, free: 6.465 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.00067/2.13, allocations: 265.9 kB / 1.314 GB, free: 6.457 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003642/2.134, allocations: 0.7421 MB / 1.314 GB, free: 6.32 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005468/2.139, allocations: 2.695 MB / 1.317 GB, free: 4.918 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008209/2.14, allocations: 1.184 MB / 1.318 GB, free: 4.191 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001717/2.142, allocations: 364 kB / 1.318 GB, free: 4.098 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000289/2.142, allocations: 92.3 kB / 1.319 GB, free: 4.09 MB / 1.014 GB Notification: Performance of SimCode: time 4.81e-07/2.142, allocations: 0 / 1.319 GB, free: 4.09 MB / 1.014 GB Notification: Performance of Templates: time 0.0421/2.184, allocations: 24.7 MB / 1.343 GB, free: 13.98 MB / 1.029 GB make -j1 -f Buildings_10_Buildings.Fluid.Examples.Performance.Example4.makefile (rm -f Buildings_10_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.Performance.Example4.sim & ./Buildings_10_Buildings.Fluid.Examples.Performance.Example4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Examples.Performance.Example4_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Examples_Performance_Example4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Examples.Performance.Example4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches