Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.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.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|c",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example5") translateModel(Buildings.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|c",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.312/2.312, 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.001/0.001, allocations: 187.9 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.497/1.497, allocations: 221.3 MB / 0.7915 GB, free: 5.398 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.001069/0.001069, allocations: 91.95 kB / 0.9318 GB, free: 5.715 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.219e-05/3.266e-05, allocations: 7.984 kB / 1.079 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.299/0.299, allocations: 143 MB / 1.219 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.016/1.315, allocations: 149.2 MB / 1.364 GB, free: 4.789 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002358/1.315, allocations: 62.66 kB / 1.364 GB, free: 4.754 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001156/1.316, allocations: 488.6 kB / 1.365 GB, free: 4.305 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.082e-06/1.316, allocations: 0 / 1.365 GB, free: 4.305 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.183e-06/1.316, allocations: 0 / 1.365 GB, free: 4.305 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002717/1.316, allocations: 316.3 kB / 1.365 GB, free: 3.957 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 6.526e-05/1.317, allocations: 12.03 kB / 1.365 GB, free: 3.945 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.609e-05/1.317, allocations: 0 / 1.365 GB, free: 3.945 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002286/1.317, allocations: 183 kB / 1.365 GB, free: 3.73 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.157e-06/1.317, allocations: 0.875 kB / 1.365 GB, free: 3.73 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.795e-05/1.317, allocations: 3.984 kB / 1.365 GB, free: 3.727 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.406e-05/1.317, allocations: 36.89 kB / 1.365 GB, free: 3.688 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.222e-06/1.317, allocations: 0 / 1.365 GB, free: 3.688 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/1.317, allocations: 0 / 1.365 GB, free: 3.688 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/1.317, allocations: 0 / 1.365 GB, free: 3.688 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.235e-05/1.317, allocations: 4 kB / 1.365 GB, free: 3.684 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000154/1.317, allocations: 160.9 kB / 1.366 GB, free: 3.48 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 4.613e-05/1.317, allocations: 29.78 kB / 1.366 GB, free: 3.445 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.171e-05/1.317, allocations: 12.92 kB / 1.366 GB, free: 3.43 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.146e-05/1.317, allocations: 0 / 1.366 GB, free: 3.43 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.016e-05/1.317, allocations: 30.56 kB / 1.366 GB, free: 3.391 MB / 0.823 GB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/1.317, allocations: 0 / 1.366 GB, free: 3.391 MB / 0.823 GB Notification: Performance of matching and sorting (n=1): time 0.0001296/1.317, allocations: 44.86 kB / 1.366 GB, free: 3.344 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.905e-05/1.317, allocations: 51.41 kB / 1.366 GB, free: 3.281 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.798e-05/1.318, allocations: 101.4 kB / 1.366 GB, free: 3.18 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/1.318, allocations: 25.7 kB / 1.366 GB, free: 3.148 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.614e-05/1.318, allocations: 92.11 kB / 1.366 GB, free: 3.055 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.057e-05/1.318, allocations: 3.312 kB / 1.366 GB, free: 3.055 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.945e-06/1.318, allocations: 0 / 1.366 GB, free: 3.055 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.74e-05/1.318, allocations: 314.8 kB / 1.366 GB, free: 2.738 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.608e-05/1.318, allocations: 7.984 kB / 1.366 GB, free: 2.73 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.221e-05/1.318, allocations: 16.91 kB / 1.366 GB, free: 2.711 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.166e-05/1.318, allocations: 10.03 kB / 1.366 GB, free: 2.703 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/1.318, allocations: 0 / 1.366 GB, free: 2.703 MB / 0.823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.042e-05/1.318, allocations: 49.53 kB / 1.366 GB, free: 2.648 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/1.318, allocations: 7.938 kB / 1.366 GB, free: 2.641 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/1.318, allocations: 4 kB / 1.366 GB, free: 2.637 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/1.318, allocations: 0 / 1.366 GB, free: 2.637 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.46e-05/1.318, allocations: 7.984 kB / 1.366 GB, free: 2.629 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/1.318, allocations: 0 / 1.366 GB, free: 2.629 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.088e-05/1.318, allocations: 0 / 1.366 GB, free: 2.629 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/1.318, allocations: 4 kB / 1.366 GB, free: 2.625 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 5.846e-05/1.318, allocations: 116.3 kB / 1.367 GB, free: 2.508 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.923e-06/1.318, allocations: 0 / 1.367 GB, free: 2.508 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001018/1.318, allocations: 52.12 kB / 1.367 GB, free: 2.457 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/1.318, allocations: 3.984 kB / 1.367 GB, free: 2.453 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/1.318, allocations: 0 / 1.367 GB, free: 2.453 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/1.318, allocations: 0 / 1.367 GB, free: 2.453 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001042/1.318, allocations: 156.9 kB / 1.367 GB, free: 2.254 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/1.318, allocations: 3.188 kB / 1.367 GB, free: 2.254 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.377e-05/1.318, allocations: 11.97 kB / 1.367 GB, free: 2.242 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/1.318, allocations: 0 / 1.367 GB, free: 2.242 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/1.318, allocations: 4 kB / 1.367 GB, free: 2.238 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/1.318, allocations: 0 / 1.367 GB, free: 2.238 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/1.319, allocations: 0 / 1.367 GB, free: 2.238 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001223/1.319, allocations: 72.23 kB / 1.367 GB, free: 2.152 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.26e-05/1.319, allocations: 89 kB / 1.367 GB, free: 2.047 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.266e-05/1.319, allocations: 0 / 1.367 GB, free: 2.047 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.11e-05/1.319, allocations: 7.719 kB / 1.367 GB, free: 2.043 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.684e-05/1.319, allocations: 3.938 kB / 1.367 GB, free: 2.039 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.335e-06/1.319, allocations: 0 / 1.367 GB, free: 2.039 MB / 0.823 GB Notification: Performance of sorting global known variables: time 4.3e-05/1.319, allocations: 90.45 kB / 1.367 GB, free: 1.953 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.6e-07/1.319, allocations: 0 / 1.367 GB, free: 1.953 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.000169/1.319, allocations: 8 kB / 1.367 GB, free: 1.945 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * 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.0001375/1.319, allocations: 95.25 kB / 1.367 GB, free: 1.84 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 7.697e-05/1.319, allocations: 20.05 kB / 1.367 GB, free: 1.82 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/1.319, allocations: 0 / 1.367 GB, free: 1.82 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 1.58e-05/1.319, allocations: 7.75 kB / 1.367 GB, free: 1.816 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001072/1.319, allocations: 3.938 kB / 1.367 GB, free: 1.812 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002259/1.32, allocations: 78.31 kB / 1.367 GB, free: 1.719 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002539/1.32, allocations: 0.6809 MB / 1.368 GB, free: 1.012 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 1.754e-05/1.32, allocations: 3.984 kB / 1.368 GB, free: 1.008 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.932e-05/1.32, allocations: 11.44 kB / 1.368 GB, free: 0.9961 MB / 0.823 GB Notification: Performance of SimCode: time 1.403e-06/1.32, allocations: 128 / 1.368 GB, free: 0.9961 MB / 0.823 GB Notification: Performance of Templates: time 0.001901/1.322, allocations: 303.9 kB / 1.368 GB, free: 0.707 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example5_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example5.csv","../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches