Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example8.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|a|b",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example8") translateModel(Buildings.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|a|b",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.416/1.416, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001249/0.001249, allocations: 181.6 kB / 326.5 MB, free: 2.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.053/2.053, allocations: 205.4 MB / 0.5775 GB, free: 20.2 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009661/0.0009661, allocations: 99.84 kB / 0.6821 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003452/0.0003453, allocations: 8.875 kB / 0.7962 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2369/0.2372, allocations: 106.3 MB / 0.9001 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1766/0.4139, allocations: 130.8 MB / 1.028 GB, free: 12.92 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002714/0.4143, allocations: 63.97 kB / 1.028 GB, free: 12.86 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0007819/0.4151, allocations: 411.4 kB / 1.028 GB, free: 12.45 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.054e-06/0.4151, allocations: 0 / 1.028 GB, free: 12.45 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.365e-06/0.4151, allocations: 0 / 1.028 GB, free: 12.45 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002861/0.4154, allocations: 315.4 kB / 1.029 GB, free: 12.09 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.4155, allocations: 8.031 kB / 1.029 GB, free: 12.09 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.232e-05/0.4155, allocations: 7.938 kB / 1.029 GB, free: 12.08 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/0.4156, allocations: 163.3 kB / 1.029 GB, free: 11.88 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.4156, allocations: 4 kB / 1.029 GB, free: 11.88 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.519e-05/0.4157, allocations: 3.938 kB / 1.029 GB, free: 11.87 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001263/0.4158, allocations: 43.42 kB / 1.029 GB, free: 11.82 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-06/0.4158, allocations: 0 / 1.029 GB, free: 11.82 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.4158, allocations: 3.984 kB / 1.029 GB, free: 11.81 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.4158, allocations: 0 / 1.029 GB, free: 11.81 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.01e-05/0.4159, allocations: 8 kB / 1.029 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001906/0.4161, allocations: 166.3 kB / 1.029 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.539e-05/0.4161, allocations: 33.22 kB / 1.029 GB, free: 11.54 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.58e-05/0.4162, allocations: 3.984 kB / 1.029 GB, free: 11.54 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/0.4162, allocations: 38.69 kB / 1.029 GB, free: 11.49 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 2.805e-06/0.4162, allocations: 0 / 1.029 GB, free: 11.49 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0001645/0.4164, allocations: 41.64 kB / 1.029 GB, free: 11.44 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.784e-05/0.4164, allocations: 81.05 kB / 1.029 GB, free: 11.34 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.984e-05/0.4165, allocations: 85 kB / 1.029 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/0.4165, allocations: 25.7 kB / 1.029 GB, free: 11.22 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.48e-05/0.4166, allocations: 80.14 kB / 1.029 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.929e-05/0.4166, allocations: 15.89 kB / 1.029 GB, free: 11.12 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.485e-06/0.4166, allocations: 4.25 kB / 1.029 GB, free: 11.12 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.4167, allocations: 310.8 kB / 1.03 GB, free: 10.81 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.005e-05/0.4168, allocations: 0 / 1.03 GB, free: 10.81 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.869e-05/0.4168, allocations: 13.72 kB / 1.03 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.501e-05/0.4168, allocations: 4 kB / 1.03 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.4168, allocations: 0 / 1.03 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.112e-05/0.4169, allocations: 53.64 kB / 1.03 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.4169, allocations: 6.812 kB / 1.03 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.417, allocations: 0 / 1.03 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.558e-05/0.417, allocations: 4 kB / 1.03 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.368e-05/0.4171, allocations: 0 / 1.03 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.4171, allocations: 4 kB / 1.03 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.298e-05/0.4171, allocations: 4 kB / 1.03 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-06/0.4171, allocations: 3.938 kB / 1.03 GB, free: 10.71 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 7.747e-05/0.4172, allocations: 105.8 kB / 1.03 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.721e-05/0.4172, allocations: 19.98 kB / 1.03 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001205/0.4173, allocations: 44.77 kB / 1.03 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.4174, allocations: 3.984 kB / 1.03 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.4174, allocations: 0 / 1.03 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.4174, allocations: 0 / 1.03 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001113/0.4175, allocations: 149.7 kB / 1.03 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.4175, allocations: 0 / 1.03 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.548e-05/0.4175, allocations: 7.938 kB / 1.03 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.4175, allocations: 4.016 kB / 1.03 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.4176, allocations: 7.984 kB / 1.03 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.4176, allocations: 4 kB / 1.03 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.4176, allocations: 3.938 kB / 1.03 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.785e-05/0.4177, allocations: 71.72 kB / 1.03 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.263e-05/0.4177, allocations: 85.05 kB / 1.03 GB, free: 10.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.346e-05/0.4178, allocations: 8.031 kB / 1.03 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.482e-05/0.4178, allocations: 0 / 1.03 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.827e-05/0.4178, allocations: 4 kB / 1.03 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.4178, allocations: 0 / 1.03 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.884e-05/0.4179, allocations: 75.95 kB / 1.03 GB, free: 10.01 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4179, allocations: 0 / 1.03 GB, free: 10.01 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002016/0.4181, allocations: 4 kB / 1.03 GB, free: 10.01 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0001446/0.4182, allocations: 95.25 kB / 1.03 GB, free: 9.902 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 7.649e-05/0.4183, allocations: 15.92 kB / 1.03 GB, free: 9.887 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4183, allocations: 4 kB / 1.03 GB, free: 9.883 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 7.494e-06/0.4183, allocations: 0 / 1.03 GB, free: 9.883 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.86e-05/0.4184, allocations: 4 kB / 1.03 GB, free: 9.879 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000234/0.4187, allocations: 99.44 kB / 1.031 GB, free: 9.75 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002769/0.419, allocations: 0.677 MB / 1.031 GB, free: 9.047 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 2.232e-05/0.419, allocations: 4.25 kB / 1.031 GB, free: 9.043 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.859e-05/0.419, allocations: 7.438 kB / 1.031 GB, free: 9.035 MB / 0.6823 GB Notification: Performance of SimCode: time 5.71e-07/0.419, allocations: 0 / 1.031 GB, free: 9.035 MB / 0.6823 GB Notification: Performance of Templates: time 0.002008/0.421, allocations: 184.3 kB / 1.031 GB, free: 8.855 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example8.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example8.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example8.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example8.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example8_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Examples_Performance_Example8.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches