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.001583/0.001583, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001858/0.001858, allocations: 191 kB / 16.25 MB, free: 6.629 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.329/1.329, allocations: 222.9 MB / 239.9 MB, free: 4.504 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.364/2.364, allocations: 390.2 MB / 0.6643 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002405/0.002405, allocations: 67.89 kB / 0.812 GB, free: 14.75 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7371/0.7395, allocations: 140.3 MB / 0.9491 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.2694/1.009, allocations: 234.7 MB / 1.178 GB, free: 6.543 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0225/1.031, allocations: 15.69 MB / 1.194 GB, free: 6.805 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002823/1.034, allocations: 59.62 kB / 1.194 GB, free: 6.746 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.003254/1.038, allocations: 0.9212 MB / 1.195 GB, free: 5.82 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.00879/1.046, allocations: 2.79 MB / 1.197 GB, free: 3.02 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.00491/1.051, allocations: 1.545 MB / 1.199 GB, free: 1.484 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.005629/1.057, allocations: 3.445 MB / 1.202 GB, free: 14.03 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002404/1.059, allocations: 1.244 MB / 1.203 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008267/1.068, allocations: 2.475 MB / 1.206 GB, free: 10.28 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003266/1.071, allocations: 1.147 MB / 1.207 GB, free: 9.137 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0005839/1.072, allocations: 120 kB / 1.207 GB, free: 9.02 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007043/1.079, allocations: 3.269 MB / 1.21 GB, free: 5.742 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.001039/1.08, allocations: 490.4 kB / 1.211 GB, free: 5.262 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.002201/1.082, allocations: 0.8124 MB / 1.211 GB, free: 4.445 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.008142/1.09, allocations: 3.147 MB / 1.215 GB, free: 1.289 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/1.09, allocations: 0 / 1.215 GB, free: 1.289 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.314e-06/1.09, allocations: 0 / 1.215 GB, free: 1.289 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.912e-05/1.09, allocations: 0 / 1.215 GB, free: 1.289 MB / 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.005391/1.096, allocations: 2.001 MB / 1.216 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.328e-05/1.096, allocations: 12.02 kB / 1.217 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00306/1.099, allocations: 0.5014 MB / 1.217 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00279/1.102, allocations: 1.114 MB / 1.218 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009072/1.103, allocations: 233.8 kB / 1.218 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002324/1.103, allocations: 104 kB / 1.218 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002972/1.106, allocations: 1.322 MB / 1.22 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.735e-05/1.106, allocations: 7.938 kB / 1.22 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001213/1.106, allocations: 40 kB / 1.22 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-05/1.106, allocations: 49.92 kB / 1.22 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002605/1.109, allocations: 1.069 MB / 1.221 GB, free: 10.64 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.009445/1.118, allocations: 6.627 MB / 1.227 GB, free: 3.57 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001701/1.12, allocations: 0.5717 MB / 1.228 GB, free: 2.992 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006814/1.121, allocations: 269.2 kB / 1.228 GB, free: 2.727 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000435/1.121, allocations: 287.5 kB / 1.228 GB, free: 2.391 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.44e-05/1.121, allocations: 38.83 kB / 1.228 GB, free: 2.344 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=33): time 3.176e-06/1.121, allocations: 0 / 1.228 GB, free: 2.344 MB / 0.9825 GB Notification: Performance of matching and sorting (n=33): time 0.002716/1.124, allocations: 0.8595 MB / 1.229 GB, free: 1.477 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.467e-05/1.124, allocations: 59.39 kB / 1.229 GB, free: 1.406 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002497/1.126, allocations: 1.358 MB / 1.231 GB, free: 40 kB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 9.81e-05/1.126, allocations: 33.7 kB / 1.231 GB, free: 0 / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006403/1.127, allocations: 0.6872 MB / 1.231 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000133/1.127, allocations: 118.4 kB / 1.231 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002699/1.128, allocations: 146 kB / 1.232 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001293/1.128, allocations: 338 kB / 1.232 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008368/1.129, allocations: 311.2 kB / 1.232 GB, free: 14.4 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001259/1.13, allocations: 0.6223 MB / 1.233 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001732/1.132, allocations: 0.863 MB / 1.234 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.054e-05/1.132, allocations: 4 kB / 1.234 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002526/1.134, allocations: 0.9999 MB / 1.235 GB, free: 11.63 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/1.134, allocations: 8 kB / 1.235 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.642e-05/1.134, allocations: 8 kB / 1.235 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.706e-05/1.134, allocations: 16 kB / 1.235 GB, free: 11.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008369/1.135, allocations: 191.9 kB / 1.235 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.237e-05/1.135, allocations: 15.94 kB / 1.235 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001632/1.137, allocations: 214.8 kB / 1.235 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.545e-05/1.137, allocations: 36 kB / 1.235 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001363/1.138, allocations: 0.5636 MB / 1.236 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001096/1.139, allocations: 0.63 MB / 1.236 GB, free: 9.805 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001655/1.141, allocations: 0.8468 MB / 1.237 GB, free: 8.828 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.877e-06/1.141, allocations: 4 kB / 1.237 GB, free: 8.824 MB / 0.9981 GB Notification: Performance of matching and sorting (n=78) (initialization_lambda0): time 0.002459/1.143, allocations: 1.007 MB / 1.238 GB, free: 7.809 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/1.143, allocations: 8 kB / 1.238 GB, free: 7.801 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.23e-05/1.144, allocations: 16.7 kB / 1.238 GB, free: 7.785 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/1.144, allocations: 16 kB / 1.238 GB, free: 7.77 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007924/1.144, allocations: 191.7 kB / 1.238 GB, free: 7.582 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.2e-05/1.144, allocations: 19.92 kB / 1.238 GB, free: 7.562 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001499/1.146, allocations: 159.4 kB / 1.238 GB, free: 7.406 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.631e-05/1.146, allocations: 35.98 kB / 1.239 GB, free: 7.371 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.0002881/1.146, allocations: 232 kB / 1.239 GB, free: 7.137 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003512/1.147, allocations: 138.3 kB / 1.239 GB, free: 7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001801/1.148, allocations: 0.6601 MB / 1.24 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/1.148, allocations: 4 kB / 1.24 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/1.148, allocations: 0 / 1.24 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/1.148, allocations: 0 / 1.24 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00396/1.152, allocations: 1.941 MB / 1.241 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/1.152, allocations: 8.062 kB / 1.241 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000526/1.153, allocations: 91.86 kB / 1.242 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.884e-06/1.153, allocations: 8 kB / 1.242 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.904e-05/1.153, allocations: 19.98 kB / 1.242 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.043e-06/1.153, allocations: 4 kB / 1.242 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/1.153, allocations: 7.938 kB / 1.242 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001694/1.155, allocations: 0.8127 MB / 1.242 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005678/1.155, allocations: 303.1 kB / 1.243 GB, free: 2.938 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003054/1.156, allocations: 8 kB / 1.243 GB, free: 2.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001178/1.157, allocations: 99.83 kB / 1.243 GB, free: 2.832 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.98e-05/1.157, allocations: 39.84 kB / 1.243 GB, free: 2.793 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.95e-05/1.157, allocations: 15.98 kB / 1.243 GB, free: 2.777 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001637/1.159, allocations: 0.9925 MB / 1.244 GB, free: 1.789 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.51e-07/1.159, allocations: 0 / 1.244 GB, free: 1.789 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001896/1.161, allocations: 0.5733 MB / 1.244 GB, free: 1.215 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.0006516/1.161, allocations: 271.7 kB / 1.245 GB, free: 0.9453 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.4608/1.622, allocations: 1.094 MB / 1.246 GB, free: 286 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-05/1.622, allocations: 1.188 kB / 1.246 GB, free: 286 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008714/1.623, allocations: 268.5 kB / 1.246 GB, free: 286 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003901/1.627, allocations: 0.74 MB / 1.247 GB, free: 285.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005532/1.632, allocations: 2.685 MB / 1.249 GB, free: 284.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008829/1.633, allocations: 1.185 MB / 1.25 GB, free: 283.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00205/1.635, allocations: 363.5 kB / 1.251 GB, free: 283.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003143/1.636, allocations: 93.62 kB / 1.251 GB, free: 283.8 MB / 0.9981 GB Notification: Performance of SimCode: time 8.51e-07/1.636, allocations: 3.844 kB / 1.251 GB, free: 283.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.0494/1.685, allocations: 24.69 MB / 1.275 GB, free: 273.3 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