Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|a|b",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example8") translateModel(Buildings.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|a|b",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.384/2.384, allocations: 390.3 MB / 402.8 MB, free: 6.699 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 173 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.63/1.63, allocations: 221.3 MB / 0.7915 GB, free: 5.391 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 95.88 kB / 0.9318 GB, free: 5.691 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.064e-05/3.066e-05, allocations: 4 kB / 1.079 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3071/0.3071, allocations: 143 MB / 1.219 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.929/1.236, allocations: 149.1 MB / 1.364 GB, free: 4.898 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001753/1.236, allocations: 64.28 kB / 1.364 GB, free: 4.863 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0006018/1.237, allocations: 413.5 kB / 1.365 GB, free: 4.469 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.004e-06/1.237, allocations: 0 / 1.365 GB, free: 4.469 MB / 0.823 GB Notification: Performance of Transformations before backend: time 4.859e-06/1.237, allocations: 0 / 1.365 GB, free: 4.469 MB / 0.823 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.0002288/1.237, allocations: 311.1 kB / 1.365 GB, free: 4.125 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/1.237, allocations: 8.031 kB / 1.365 GB, free: 4.117 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.758e-05/1.237, allocations: 4 kB / 1.365 GB, free: 4.113 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001053/1.237, allocations: 167 kB / 1.365 GB, free: 3.91 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/1.237, allocations: 4 kB / 1.365 GB, free: 3.906 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.575e-06/1.237, allocations: 0 / 1.365 GB, free: 3.906 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.839e-05/1.238, allocations: 46.84 kB / 1.365 GB, free: 3.852 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/1.238, allocations: 0 / 1.365 GB, free: 3.852 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/1.238, allocations: 0 / 1.365 GB, free: 3.852 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/1.238, allocations: 0 / 1.365 GB, free: 3.852 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.771e-05/1.238, allocations: 11.94 kB / 1.365 GB, free: 3.84 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001546/1.238, allocations: 153.7 kB / 1.365 GB, free: 3.641 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.117e-05/1.238, allocations: 40.44 kB / 1.366 GB, free: 3.586 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.594e-05/1.238, allocations: 21.64 kB / 1.366 GB, free: 3.562 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/1.238, allocations: 0 / 1.366 GB, free: 3.562 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.448e-05/1.238, allocations: 34.56 kB / 1.366 GB, free: 3.52 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/1.238, allocations: 0 / 1.366 GB, free: 3.52 MB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.0001367/1.238, allocations: 37.64 kB / 1.366 GB, free: 3.477 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.842e-05/1.238, allocations: 84.48 kB / 1.366 GB, free: 3.379 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.658e-05/1.238, allocations: 85 kB / 1.366 GB, free: 3.289 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/1.238, allocations: 30.52 kB / 1.366 GB, free: 3.254 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.82e-05/1.238, allocations: 84.12 kB / 1.366 GB, free: 3.168 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.899e-05/1.238, allocations: 16.52 kB / 1.366 GB, free: 3.152 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.204e-06/1.238, allocations: 0 / 1.366 GB, free: 3.152 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001118/1.238, allocations: 310.8 kB / 1.366 GB, free: 2.84 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.145e-05/1.238, allocations: 4 kB / 1.366 GB, free: 2.836 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.337e-05/1.239, allocations: 13.53 kB / 1.366 GB, free: 2.82 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.371e-05/1.239, allocations: 7.953 kB / 1.366 GB, free: 2.812 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/1.239, allocations: 2.031 kB / 1.366 GB, free: 2.812 MB / 0.823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.828e-05/1.239, allocations: 45.62 kB / 1.366 GB, free: 2.762 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/1.239, allocations: 8 kB / 1.366 GB, free: 2.754 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/1.239, allocations: 0 / 1.366 GB, free: 2.754 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/1.239, allocations: 0 / 1.366 GB, free: 2.754 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.995e-05/1.239, allocations: 4 kB / 1.366 GB, free: 2.75 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/1.239, allocations: 0 / 1.366 GB, free: 2.75 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.438e-05/1.239, allocations: 0 / 1.366 GB, free: 2.75 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/1.239, allocations: 4 kB / 1.366 GB, free: 2.746 MB / 0.823 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 () * 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 6.562e-05/1.239, allocations: 112.9 kB / 1.366 GB, free: 2.633 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.093e-06/1.239, allocations: 3.938 kB / 1.366 GB, free: 2.629 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001007/1.239, allocations: 44.06 kB / 1.366 GB, free: 2.586 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/1.239, allocations: 4 kB / 1.366 GB, free: 2.582 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/1.239, allocations: 5.422 kB / 1.366 GB, free: 2.578 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/1.239, allocations: 3.938 kB / 1.366 GB, free: 2.574 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001023/1.239, allocations: 141.7 kB / 1.367 GB, free: 2.387 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/1.239, allocations: 7.953 kB / 1.367 GB, free: 2.379 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.165e-05/1.239, allocations: 4.062 kB / 1.367 GB, free: 2.375 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/1.239, allocations: 7.938 kB / 1.367 GB, free: 2.367 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.733e-06/1.239, allocations: 0 / 1.367 GB, free: 2.367 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/1.239, allocations: 3.984 kB / 1.367 GB, free: 2.363 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/1.239, allocations: 0 / 1.367 GB, free: 2.363 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.051e-05/1.239, allocations: 78.05 kB / 1.367 GB, free: 2.266 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.493e-05/1.239, allocations: 89.05 kB / 1.367 GB, free: 2.16 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.23e-05/1.239, allocations: 4.859 kB / 1.367 GB, free: 2.156 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.449e-05/1.239, allocations: 0 / 1.367 GB, free: 2.156 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.666e-05/1.239, allocations: 7.938 kB / 1.367 GB, free: 2.148 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.265e-06/1.239, allocations: 0 / 1.367 GB, free: 2.148 MB / 0.823 GB Notification: Performance of sorting global known variables: time 2.728e-05/1.239, allocations: 75.28 kB / 1.367 GB, free: 2.074 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.21e-07/1.239, allocations: 0 / 1.367 GB, free: 2.074 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001759/1.24, allocations: 0 / 1.367 GB, free: 2.074 MB / 0.823 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 () * 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.0001208/1.24, allocations: 106.4 kB / 1.367 GB, free: 1.965 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 6.233e-05/1.24, allocations: 8 kB / 1.367 GB, free: 1.957 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/1.24, allocations: 0 / 1.367 GB, free: 1.957 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 1.005e-05/1.24, allocations: 11.88 kB / 1.367 GB, free: 1.945 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.839e-05/1.24, allocations: 7.938 kB / 1.367 GB, free: 1.938 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001518/1.24, allocations: 61.17 kB / 1.367 GB, free: 1.855 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002394/1.24, allocations: 0.6812 MB / 1.368 GB, free: 1.148 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 1.716e-05/1.24, allocations: 0 / 1.368 GB, free: 1.148 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.434e-05/1.24, allocations: 7.438 kB / 1.368 GB, free: 1.141 MB / 0.823 GB Notification: Performance of SimCode: time 3.5e-07/1.24, allocations: 0 / 1.368 GB, free: 1.141 MB / 0.823 GB Notification: Performance of Templates: time 0.001585/1.242, allocations: 183.5 kB / 1.368 GB, free: 0.9727 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.Example8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example8_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example8.csv","../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches