Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001314/0.001314, allocations: 98.77 kB / 15.05 MB, free: 1.105 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.00156/0.00156, allocations: 177.3 kB / 15.94 MB, free: 228 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.479/1.479, allocations: 223.2 MB / 239.9 MB, free: 5.215 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.565/2.565, allocations: 436.5 MB / 0.7104 GB, free: 7.898 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003365/0.0003367, allocations: 8 kB / 0.8708 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.653/0.6534, allocations: 153.6 MB / 1.021 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.198/0.8514, allocations: 194.9 MB / 1.211 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01828/0.8697, allocations: 14.49 MB / 1.225 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00193/0.8717, allocations: 47.62 kB / 1.225 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002679/0.8744, allocations: 0.9527 MB / 1.226 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.008378/0.8828, allocations: 3.061 MB / 1.229 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003983/0.8868, allocations: 1.475 MB / 1.231 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003509/0.8903, allocations: 2.026 MB / 1.233 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001244/0.8916, allocations: 0.9571 MB / 1.234 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003419/0.895, allocations: 1.694 MB / 1.235 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009777/0.896, allocations: 0.6884 MB / 1.236 GB, free: 4.348 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001309/0.8961, allocations: 51.98 kB / 1.236 GB, free: 4.297 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0036/0.8998, allocations: 1.677 MB / 1.238 GB, free: 2.617 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000419/0.9002, allocations: 362.8 kB / 1.238 GB, free: 2.262 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004254/0.9006, allocations: 332.9 kB / 1.238 GB, free: 1.93 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002501/0.9031, allocations: 1.875 MB / 1.24 GB, free: 52 kB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.9032, allocations: 3.938 kB / 1.24 GB, free: 48 kB / 0.9825 GB Notification: Performance of FrontEnd: time 1.923e-06/0.9032, allocations: 4 kB / 1.24 GB, free: 44 kB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.99e-05/0.9032, allocations: 0 / 1.24 GB, free: 44 kB / 0.9825 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.003125/0.9063, allocations: 1.686 MB / 1.242 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.9064, allocations: 11.98 kB / 1.242 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002771/0.9091, allocations: 0.5444 MB / 1.242 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002183/0.9113, allocations: 1.076 MB / 1.243 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009545/0.9123, allocations: 273.8 kB / 1.244 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001382/0.9125, allocations: 100 kB / 1.244 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002306/0.9148, allocations: 1.326 MB / 1.245 GB, free: 10.83 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.345e-05/0.9148, allocations: 4 kB / 1.245 GB, free: 10.83 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.611e-05/0.9149, allocations: 40 kB / 1.245 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.476e-05/0.915, allocations: 42 kB / 1.245 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002485/0.9175, allocations: 1.112 MB / 1.246 GB, free: 9.637 MB / 0.9981 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.007651/0.9251, allocations: 6.701 MB / 1.253 GB, free: 2.484 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002139/0.9273, allocations: 0.6401 MB / 1.253 GB, free: 1.836 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.646e-05/0.9274, allocations: 12.27 kB / 1.253 GB, free: 1.824 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.467e-05/0.9274, allocations: 42.84 kB / 1.253 GB, free: 1.773 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=33): time 3.176e-06/0.9275, allocations: 0 / 1.253 GB, free: 1.773 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33): time 0.00258/0.93, allocations: 0.915 MB / 1.254 GB, free: 0.8516 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.174e-05/0.9301, allocations: 59.41 kB / 1.254 GB, free: 0.7812 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.5753/1.505, allocations: 1.341 MB / 1.256 GB, free: 25.52 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001215/1.506, allocations: 37.42 kB / 1.256 GB, free: 25.49 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004897/1.506, allocations: 0.6846 MB / 1.256 GB, free: 25.4 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001063/1.506, allocations: 126.1 kB / 1.256 GB, free: 25.35 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.374e-05/1.506, allocations: 10.72 kB / 1.256 GB, free: 25.35 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.244e-05/1.506, allocations: 332.8 kB / 1.257 GB, free: 25.04 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009248/1.507, allocations: 319.4 kB / 1.257 GB, free: 25.04 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001106/1.508, allocations: 0.6391 MB / 1.258 GB, free: 24.66 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001042/1.509, allocations: 394.7 kB / 1.258 GB, free: 24.66 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.556e-06/1.509, allocations: 3.094 kB / 1.258 GB, free: 24.66 MB / 0.9981 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002598/1.512, allocations: 1.035 MB / 1.259 GB, free: 24.55 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005911/1.513, allocations: 3.809 MB / 1.263 GB, free: 20.64 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.169e-05/1.513, allocations: 10.2 kB / 1.263 GB, free: 20.64 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.89e-05/1.513, allocations: 19.05 kB / 1.263 GB, free: 20.63 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00093/1.514, allocations: 201.3 kB / 1.263 GB, free: 20.63 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.775e-05/1.514, allocations: 21.8 kB / 1.263 GB, free: 20.63 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00151/1.515, allocations: 230.5 kB / 1.263 GB, free: 20.56 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.104e-05/1.515, allocations: 37 kB / 1.263 GB, free: 20.56 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 9.388e-06/1.515, allocations: 4.969 kB / 1.263 GB, free: 20.56 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002253/1.518, allocations: 0.8891 MB / 1.264 GB, free: 20.53 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.845e-05/1.518, allocations: 9.156 kB / 1.264 GB, free: 20.53 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.234e-05/1.518, allocations: 14.75 kB / 1.264 GB, free: 20.53 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000863/1.518, allocations: 200.5 kB / 1.264 GB, free: 20.52 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.414e-05/1.519, allocations: 25.2 kB / 1.264 GB, free: 20.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001318/1.52, allocations: 199.2 kB / 1.265 GB, free: 20.46 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.419e-05/1.52, allocations: 46.41 kB / 1.265 GB, free: 20.46 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005945/1.521, allocations: 412.2 kB / 1.265 GB, free: 20.27 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002114/1.521, allocations: 136.4 kB / 1.265 GB, free: 20.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001771/1.523, allocations: 0.6838 MB / 1.266 GB, free: 20.12 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/1.523, allocations: 4.109 kB / 1.266 GB, free: 20.12 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/1.523, allocations: 0 / 1.266 GB, free: 20.12 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/1.523, allocations: 6.484 kB / 1.266 GB, free: 20.12 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004707/1.527, allocations: 2.551 MB / 1.268 GB, free: 19.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.818e-06/1.527, allocations: 6.812 kB / 1.268 GB, free: 19.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000555/1.528, allocations: 110.7 kB / 1.268 GB, free: 19.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.431e-05/1.528, allocations: 11.08 kB / 1.268 GB, free: 19.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.828e-05/1.528, allocations: 16.33 kB / 1.268 GB, free: 19.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-05/1.528, allocations: 18.16 kB / 1.269 GB, free: 19.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-05/1.528, allocations: 15.44 kB / 1.269 GB, free: 19.49 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001979/1.53, allocations: 1.398 MB / 1.27 GB, free: 18.37 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005407/1.531, allocations: 293.4 kB / 1.27 GB, free: 18.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002212/1.531, allocations: 17.11 kB / 1.27 GB, free: 18.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001155/1.532, allocations: 110.9 kB / 1.27 GB, free: 18.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/1.532, allocations: 44.67 kB / 1.27 GB, free: 18.19 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.964e-05/1.532, allocations: 28.94 kB / 1.27 GB, free: 18.19 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00171/1.534, allocations: 0.9297 MB / 1.271 GB, free: 18.07 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/1.534, allocations: 1.047 kB / 1.271 GB, free: 18.07 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001858/1.536, allocations: 0.5874 MB / 1.272 GB, free: 18.01 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005334/1.536, allocations: 274.2 kB / 1.272 GB, free: 17.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002921/1.539, allocations: 1.145 MB / 1.273 GB, free: 17.86 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/1.539, allocations: 1.031 kB / 1.273 GB, free: 17.86 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007487/1.54, allocations: 294.9 kB / 1.274 GB, free: 17.85 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002904/1.543, allocations: 0.6331 MB / 1.274 GB, free: 17.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003708/1.547, allocations: 2.639 MB / 1.277 GB, free: 16.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007229/1.547, allocations: 1.215 MB / 1.278 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001586/1.549, allocations: 351.6 kB / 1.278 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002393/1.549, allocations: 93.84 kB / 1.278 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of SimCode: time 8.01e-07/1.549, allocations: 1.031 kB / 1.278 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of Templates: time 0.03509/1.584, allocations: 21.45 MB / 1.299 GB, free: 14.24 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.Example4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example4_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example4.csv","../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches