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.001284/0.001284, allocations: 107.4 kB / 15.23 MB, free: 0.6406 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.001578/0.001578, allocations: 192.4 kB / 16.14 MB, free: 6.715 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.349/1.349, allocations: 222.9 MB / 239.8 MB, free: 4.582 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.584/2.584, allocations: 437 MB / 0.7099 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 67.89 kB / 0.8685 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7338/0.7351, allocations: 151.6 MB / 1.017 GB, free: 2.797 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.2619/0.997, allocations: 235.4 MB / 1.247 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.7845/1.781, allocations: 15.89 MB / 1.262 GB, free: 2.043 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003466/1.785, allocations: 55.62 kB / 1.262 GB, free: 2.043 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003511/1.789, allocations: 0.87 MB / 1.263 GB, free: 2.043 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01047/1.799, allocations: 2.803 MB / 1.266 GB, free: 1.961 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005232/1.804, allocations: 1.507 MB / 1.267 GB, free: 1.906 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.009657/1.814, allocations: 4.661 MB / 1.272 GB, free: 1.895 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002666/1.817, allocations: 1.074 MB / 1.273 GB, free: 1.77 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008298/1.825, allocations: 2.252 MB / 1.275 GB, free: 1.727 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004176/1.829, allocations: 1.127 MB / 1.276 GB, free: 1.711 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004353/1.83, allocations: 64.62 kB / 1.276 GB, free: 1.711 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009266/1.839, allocations: 3.6 MB / 1.28 GB, free: 1.676 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001219/1.84, allocations: 427.7 kB / 1.28 GB, free: 1.676 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001857/1.842, allocations: 0.7552 MB / 1.281 GB, free: 1.676 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00737/1.849, allocations: 3.094 MB / 1.284 GB, free: 1.488 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.393e-06/1.849, allocations: 3.188 kB / 1.284 GB, free: 1.488 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.924e-06/1.849, allocations: 0 / 1.284 GB, free: 1.488 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.294e-05/1.85, allocations: 0 / 1.284 GB, free: 1.488 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.004338/1.854, allocations: 2.003 MB / 1.286 GB, free: 16.45 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/1.854, allocations: 8.25 kB / 1.286 GB, free: 16.45 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002921/1.857, allocations: 0.5009 MB / 1.286 GB, free: 16.34 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002267/1.859, allocations: 1.106 MB / 1.287 GB, free: 15.95 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008471/1.86, allocations: 249.8 kB / 1.288 GB, free: 15.93 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001276/1.86, allocations: 100.4 kB / 1.288 GB, free: 15.93 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002233/1.862, allocations: 1.311 MB / 1.289 GB, free: 15.64 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.366e-05/1.862, allocations: 9.031 kB / 1.289 GB, free: 15.64 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.82e-05/1.863, allocations: 44.61 kB / 1.289 GB, free: 15.64 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.874e-05/1.863, allocations: 47.11 kB / 1.289 GB, free: 15.64 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00225/1.865, allocations: 1.072 MB / 1.29 GB, free: 15.62 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.007579/1.872, allocations: 6.627 MB / 1.297 GB, free: 11.43 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001594/1.874, allocations: 0.5686 MB / 1.297 GB, free: 11.38 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006331/1.875, allocations: 273.2 kB / 1.297 GB, free: 11.37 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003915/1.875, allocations: 279.7 kB / 1.298 GB, free: 11.09 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.693e-05/1.875, allocations: 36.34 kB / 1.298 GB, free: 11.05 MB / 1.014 GB Notification: Performance of pre-optimization done (n=33): time 4.679e-06/1.875, allocations: 6.609 kB / 1.298 GB, free: 11.04 MB / 1.014 GB Notification: Performance of matching and sorting (n=33): time 0.002563/1.878, allocations: 0.8715 MB / 1.299 GB, free: 10.91 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.112e-05/1.878, allocations: 53.97 kB / 1.299 GB, free: 10.84 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001816/1.88, allocations: 1.36 MB / 1.3 GB, free: 10.67 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 8.669e-05/1.88, allocations: 32.89 kB / 1.3 GB, free: 10.64 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004938/1.88, allocations: 0.6862 MB / 1.301 GB, free: 10.39 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001137/1.88, allocations: 120.5 kB / 1.301 GB, free: 10.32 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002395/1.881, allocations: 150.3 kB / 1.301 GB, free: 10.29 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001121/1.881, allocations: 337.3 kB / 1.301 GB, free: 9.98 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000815/1.882, allocations: 313.9 kB / 1.302 GB, free: 9.961 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001023/1.883, allocations: 0.6252 MB / 1.302 GB, free: 9.566 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001628/1.884, allocations: 0.8597 MB / 1.303 GB, free: 9.199 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.183e-06/1.884, allocations: 2.812 kB / 1.303 GB, free: 9.199 MB / 1.014 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002199/1.886, allocations: 0.9955 MB / 1.304 GB, free: 9.078 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.497e-05/1.886, allocations: 10.75 kB / 1.304 GB, free: 9.078 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.59e-05/1.886, allocations: 11.91 kB / 1.304 GB, free: 9.074 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.313e-05/1.886, allocations: 13.75 kB / 1.304 GB, free: 9.074 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007941/1.887, allocations: 193.1 kB / 1.304 GB, free: 9.07 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.859e-05/1.887, allocations: 18.88 kB / 1.304 GB, free: 9.07 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001581/1.889, allocations: 213.5 kB / 1.304 GB, free: 9.004 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.152e-05/1.889, allocations: 41.06 kB / 1.304 GB, free: 9.004 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001207/1.89, allocations: 0.5605 MB / 1.305 GB, free: 8.914 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009812/1.891, allocations: 0.6299 MB / 1.306 GB, free: 8.512 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001572/1.893, allocations: 0.8573 MB / 1.306 GB, free: 8.148 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.12e-06/1.893, allocations: 2.312 kB / 1.306 GB, free: 8.148 MB / 1.014 GB Notification: Performance of matching and sorting (n=78) (initialization_lambda0): time 0.002193/1.895, allocations: 0.9932 MB / 1.307 GB, free: 8.027 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/1.895, allocations: 9.812 kB / 1.307 GB, free: 8.027 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/1.895, allocations: 8.781 kB / 1.307 GB, free: 8.027 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/1.895, allocations: 23.22 kB / 1.307 GB, free: 8.02 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007876/1.896, allocations: 188.7 kB / 1.308 GB, free: 8.016 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.403e-05/1.896, allocations: 19 kB / 1.308 GB, free: 8.016 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001477/1.897, allocations: 160.4 kB / 1.308 GB, free: 7.984 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-05/1.897, allocations: 40.44 kB / 1.308 GB, free: 7.984 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.0002534/1.898, allocations: 226.5 kB / 1.308 GB, free: 7.797 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001967/1.898, allocations: 137.9 kB / 1.308 GB, free: 7.727 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001611/1.9, allocations: 0.6601 MB / 1.309 GB, free: 7.645 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/1.9, allocations: 2.156 kB / 1.309 GB, free: 7.645 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/1.9, allocations: 0 / 1.309 GB, free: 7.645 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/1.9, allocations: 6.781 kB / 1.309 GB, free: 7.645 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003426/1.903, allocations: 1.929 MB / 1.311 GB, free: 7.156 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/1.903, allocations: 2.281 kB / 1.311 GB, free: 7.156 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005258/1.904, allocations: 100.7 kB / 1.311 GB, free: 7.152 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.524e-06/1.904, allocations: 11.16 kB / 1.311 GB, free: 7.145 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.669e-05/1.904, allocations: 17.56 kB / 1.311 GB, free: 7.141 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.923e-06/1.904, allocations: 9.25 kB / 1.311 GB, free: 7.141 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-06/1.904, allocations: 4.375 kB / 1.311 GB, free: 7.141 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001555/1.905, allocations: 0.8201 MB / 1.312 GB, free: 6.785 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000471/1.906, allocations: 299.7 kB / 1.312 GB, free: 6.609 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002181/1.906, allocations: 12.44 kB / 1.312 GB, free: 6.605 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001051/1.907, allocations: 100.3 kB / 1.312 GB, free: 6.59 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.088e-05/1.907, allocations: 33.14 kB / 1.312 GB, free: 6.586 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.915e-05/1.907, allocations: 23.14 kB / 1.312 GB, free: 6.586 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001477/1.909, allocations: 0.9967 MB / 1.313 GB, free: 6.473 MB / 1.014 GB Notification: Performance of sort global known variables: time 3.11e-07/1.909, allocations: 0 / 1.313 GB, free: 6.473 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001792/1.91, allocations: 0.5662 MB / 1.314 GB, free: 6.426 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.0005798/1.911, allocations: 265.8 kB / 1.314 GB, free: 6.301 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002598/1.914, allocations: 1.081 MB / 1.315 GB, free: 6.27 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/1.914, allocations: 2.562 kB / 1.315 GB, free: 6.27 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0006311/1.914, allocations: 265.1 kB / 1.315 GB, free: 6.262 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003268/1.918, allocations: 0.7508 MB / 1.316 GB, free: 6.188 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005349/1.923, allocations: 2.682 MB / 1.319 GB, free: 4.797 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001025/1.924, allocations: 1.184 MB / 1.32 GB, free: 4.07 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001802/1.926, allocations: 371.1 kB / 1.32 GB, free: 3.973 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002674/1.926, allocations: 92.73 kB / 1.32 GB, free: 3.965 MB / 1.014 GB Notification: Performance of SimCode: time 1.072e-06/1.926, allocations: 0 / 1.32 GB, free: 3.965 MB / 1.014 GB Notification: Performance of Templates: time 0.04313/1.969, allocations: 24.11 MB / 1.344 GB, free: 12.66 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