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.494/1.494, allocations: 249.5 MB / 257 MB, free: 6.891 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001131/0.001131, allocations: 186 kB / 316.3 MB, free: 3.27 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.763/1.763, allocations: 205.3 MB / 0.5672 GB, free: 15.81 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.0009067/0.0009068, allocations: 90.45 kB / 0.6714 GB, free: 4.938 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.714e-05/1.717e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2446/0.2446, allocations: 106.3 MB / 0.8852 GB, free: 12.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8449/1.09, allocations: 131 MB / 1.013 GB, free: 6.707 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000217/1.09, allocations: 70.72 kB / 1.013 GB, free: 6.668 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0007425/1.091, allocations: 409 kB / 1.014 GB, free: 6.281 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.493e-06/1.091, allocations: 0 / 1.014 GB, free: 6.281 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.041e-06/1.091, allocations: 0 / 1.014 GB, free: 6.281 MB / 0.6355 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.0002371/1.091, allocations: 317.9 kB / 1.014 GB, free: 5.934 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/1.091, allocations: 8.031 kB / 1.014 GB, free: 5.926 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.972e-05/1.091, allocations: 0 / 1.014 GB, free: 5.926 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001016/1.091, allocations: 163 kB / 1.014 GB, free: 5.727 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/1.091, allocations: 0 / 1.014 GB, free: 5.727 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.203e-06/1.091, allocations: 0 / 1.014 GB, free: 5.727 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.469e-05/1.091, allocations: 4.75 kB / 1.014 GB, free: 5.723 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.627e-05/1.091, allocations: 46.86 kB / 1.014 GB, free: 5.668 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/1.091, allocations: 7.984 kB / 1.014 GB, free: 5.66 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/1.091, allocations: 0 / 1.014 GB, free: 5.66 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/1.091, allocations: 0 / 1.014 GB, free: 5.66 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001288/1.091, allocations: 131.1 kB / 1.014 GB, free: 5.492 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.615e-05/1.091, allocations: 36.16 kB / 1.014 GB, free: 5.441 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.202e-05/1.091, allocations: 17.78 kB / 1.014 GB, free: 5.418 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.334e-05/1.092, allocations: 7.938 kB / 1.014 GB, free: 5.41 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/1.092, allocations: 34.12 kB / 1.014 GB, free: 5.371 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/1.092, allocations: 0 / 1.014 GB, free: 5.371 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.000135/1.092, allocations: 37.69 kB / 1.014 GB, free: 5.328 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.822e-05/1.092, allocations: 83.78 kB / 1.014 GB, free: 5.23 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.455e-05/1.092, allocations: 85 kB / 1.015 GB, free: 5.141 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/1.092, allocations: 29.77 kB / 1.015 GB, free: 5.105 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.167e-05/1.092, allocations: 80.14 kB / 1.015 GB, free: 5.023 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.872e-05/1.092, allocations: 11.84 kB / 1.015 GB, free: 5.012 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.174e-06/1.092, allocations: 0 / 1.015 GB, free: 5.012 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001093/1.092, allocations: 314.8 kB / 1.015 GB, free: 4.699 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.365e-06/1.092, allocations: 0 / 1.015 GB, free: 4.699 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.599e-05/1.092, allocations: 17.7 kB / 1.015 GB, free: 4.676 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.806e-05/1.092, allocations: 4.062 kB / 1.015 GB, free: 4.672 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/1.092, allocations: 0 / 1.015 GB, free: 4.672 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.445e-05/1.092, allocations: 41.59 kB / 1.015 GB, free: 4.625 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/1.092, allocations: 9.875 kB / 1.015 GB, free: 4.617 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/1.092, allocations: 0 / 1.015 GB, free: 4.617 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/1.092, allocations: 0 / 1.015 GB, free: 4.617 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.096e-05/1.092, allocations: 7.984 kB / 1.015 GB, free: 4.609 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-06/1.092, allocations: 0 / 1.015 GB, free: 4.609 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.509e-05/1.092, allocations: 0 / 1.015 GB, free: 4.609 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.704e-06/1.092, allocations: 8.062 kB / 1.015 GB, free: 4.602 MB / 0.6355 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.419e-05/1.092, allocations: 104.9 kB / 1.015 GB, free: 4.496 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.758e-06/1.092, allocations: 5.016 kB / 1.015 GB, free: 4.492 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001083/1.093, allocations: 49.33 kB / 1.015 GB, free: 4.434 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/1.093, allocations: 3.984 kB / 1.015 GB, free: 4.43 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/1.093, allocations: 4 kB / 1.015 GB, free: 4.426 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/1.093, allocations: 0 / 1.015 GB, free: 4.426 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.948e-05/1.093, allocations: 130.2 kB / 1.015 GB, free: 4.262 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/1.093, allocations: 0 / 1.015 GB, free: 4.262 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.282e-05/1.093, allocations: 7.984 kB / 1.015 GB, free: 4.254 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/1.093, allocations: 0 / 1.015 GB, free: 4.254 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/1.093, allocations: 5.562 kB / 1.015 GB, free: 4.25 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/1.093, allocations: 3.953 kB / 1.015 GB, free: 4.246 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/1.093, allocations: 0 / 1.015 GB, free: 4.246 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.876e-05/1.093, allocations: 85.58 kB / 1.015 GB, free: 4.141 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.827e-05/1.093, allocations: 77.11 kB / 1.016 GB, free: 4.047 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.441e-05/1.093, allocations: 7.953 kB / 1.016 GB, free: 4.039 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.489e-05/1.093, allocations: 2.531 kB / 1.016 GB, free: 4.039 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.592e-05/1.093, allocations: 0 / 1.016 GB, free: 4.039 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-06/1.093, allocations: 0 / 1.016 GB, free: 4.039 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.76e-05/1.093, allocations: 79.22 kB / 1.016 GB, free: 3.961 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.31e-07/1.093, allocations: 0 / 1.016 GB, free: 3.961 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001907/1.093, allocations: 4 kB / 1.016 GB, free: 3.957 MB / 0.6355 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.0001173/1.093, allocations: 99.28 kB / 1.016 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.285e-05/1.093, allocations: 15.11 kB / 1.016 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/1.093, allocations: 0 / 1.016 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.164e-06/1.093, allocations: 4 kB / 1.016 GB, free: 3.836 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.985e-05/1.093, allocations: 4 kB / 1.016 GB, free: 3.832 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001768/1.094, allocations: 60.19 kB / 1.016 GB, free: 3.75 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002336/1.094, allocations: 0.6768 MB / 1.016 GB, free: 3.047 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 1.904e-05/1.094, allocations: 0 / 1.016 GB, free: 3.047 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.404e-05/1.094, allocations: 7.438 kB / 1.016 GB, free: 3.039 MB / 0.6355 GB Notification: Performance of SimCode: time 2.3e-07/1.094, allocations: 0 / 1.016 GB, free: 3.039 MB / 0.6355 GB Notification: Performance of Templates: time 0.001687/1.096, allocations: 174.6 kB / 1.017 GB, free: 2.875 MB / 0.6355 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