Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Examples.Performance.Example8.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.Example8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|a|b",fileNamePrefix="Buildings_10_Buildings.Fluid.Examples.Performance.Example8") translateModel(Buildings.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|a|b",fileNamePrefix="Buildings_10_Buildings.Fluid.Examples.Performance.Example8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001795/0.001795, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.002072/0.002072, allocations: 188.4 kB / 16.25 MB, free: 6.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.62/1.62, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.814/2.814, allocations: 437 MB / 0.7101 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001892/0.001892, allocations: 63.91 kB / 0.8687 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6399/0.6418, allocations: 151.6 MB / 1.017 GB, free: 2.719 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.001904/0.6437, allocations: 0.5895 MB / 1.017 GB, free: 2.129 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001408/0.6439, allocations: 27.83 kB / 1.017 GB, free: 2.102 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.616e-05/0.6439, allocations: 0 / 1.017 GB, free: 2.102 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.022e-05/0.644, allocations: 0 / 1.017 GB, free: 2.102 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001578/0.6441, allocations: 0 / 1.017 GB, free: 2.102 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 4.749e-06/0.6442, allocations: 4 kB / 1.017 GB, free: 2.098 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.841e-05/0.6442, allocations: 7.938 kB / 1.017 GB, free: 2.09 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 6.585e-05/0.6443, allocations: 4 kB / 1.017 GB, free: 2.086 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.92e-05/0.6443, allocations: 0 / 1.017 GB, free: 2.086 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.719e-05/0.6444, allocations: 3.984 kB / 1.017 GB, free: 2.082 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.218e-05/0.6444, allocations: 0 / 1.017 GB, free: 2.082 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 7.054e-06/0.6444, allocations: 0 / 1.017 GB, free: 2.082 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.571e-05/0.6444, allocations: 7.984 kB / 1.017 GB, free: 2.074 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.617e-05/0.6444, allocations: 3.938 kB / 1.017 GB, free: 2.07 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 4.152e-05/0.6445, allocations: 0 / 1.017 GB, free: 2.07 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.6445, allocations: 0 / 1.017 GB, free: 2.07 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.784e-06/0.6445, allocations: 4 kB / 1.017 GB, free: 2.066 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.6445, allocations: 0 / 1.017 GB, free: 2.066 MB / 0.7637 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.000363/0.6449, allocations: 323.4 kB / 1.018 GB, free: 1.699 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.335e-05/0.6449, allocations: 16.02 kB / 1.018 GB, free: 1.684 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.045e-05/0.645, allocations: 0.9375 kB / 1.018 GB, free: 1.684 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.6451, allocations: 160.4 kB / 1.018 GB, free: 1.488 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.6451, allocations: 384 / 1.018 GB, free: 1.488 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.995e-06/0.6451, allocations: 384 / 1.018 GB, free: 1.488 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001186/0.6452, allocations: 51.92 kB / 1.018 GB, free: 1.426 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.6453, allocations: 192 / 1.018 GB, free: 1.426 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.6453, allocations: 7.938 kB / 1.018 GB, free: 1.418 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.6453, allocations: 3.984 kB / 1.018 GB, free: 1.414 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.256e-05/0.6453, allocations: 0 / 1.018 GB, free: 1.414 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001903/0.6455, allocations: 158.5 kB / 1.018 GB, free: 1.207 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 6.129e-05/0.6456, allocations: 41.22 kB / 1.018 GB, free: 1.148 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.621e-05/0.6456, allocations: 13.7 kB / 1.018 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 2.696e-05/0.6456, allocations: 4.062 kB / 1.018 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.407e-05/0.6457, allocations: 34.56 kB / 1.018 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=2): time 3.056e-06/0.6457, allocations: 0 / 1.018 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of matching and sorting (n=2): time 0.0001413/0.6458, allocations: 41.8 kB / 1.018 GB, free: 1.035 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001112/0.646, allocations: 89.08 kB / 1.018 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.952e-05/0.646, allocations: 97.84 kB / 1.018 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.6461, allocations: 25.7 kB / 1.018 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 4.517e-05/0.6461, allocations: 80.14 kB / 1.019 GB, free: 0.7109 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 2.822e-05/0.6461, allocations: 5.875 kB / 1.019 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.36e-05/0.6462, allocations: 13.72 kB / 1.019 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.6463, allocations: 314.8 kB / 1.019 GB, free: 380 kB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.214e-05/0.6463, allocations: 8.125 kB / 1.019 GB, free: 372 kB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.85e-05/0.6464, allocations: 13.7 kB / 1.019 GB, free: 352 kB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.878e-05/0.6464, allocations: 21.72 kB / 1.019 GB, free: 324 kB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.6464, allocations: 0 / 1.019 GB, free: 324 kB / 0.7637 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.166e-05/0.6465, allocations: 37.64 kB / 1.019 GB, free: 280 kB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.6465, allocations: 4.125 kB / 1.019 GB, free: 276 kB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.004e-06/0.6465, allocations: 7.938 kB / 1.019 GB, free: 268 kB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.6465, allocations: 4 kB / 1.019 GB, free: 264 kB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.291e-05/0.6466, allocations: 3.984 kB / 1.019 GB, free: 260 kB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.657e-06/0.6466, allocations: 4 kB / 1.019 GB, free: 256 kB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.591e-05/0.6467, allocations: 0 / 1.019 GB, free: 256 kB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.55e-06/0.6467, allocations: 0 / 1.019 GB, free: 256 kB / 0.7637 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.921e-05/0.6468, allocations: 113.8 kB / 1.019 GB, free: 132 kB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.537e-06/0.6468, allocations: 4 kB / 1.019 GB, free: 128 kB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001179/0.6469, allocations: 52.75 kB / 1.019 GB, free: 68 kB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.6469, allocations: 0 / 1.019 GB, free: 68 kB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.6469, allocations: 3.938 kB / 1.019 GB, free: 64 kB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.6469, allocations: 3.938 kB / 1.019 GB, free: 60 kB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001483/0.6471, allocations: 153.7 kB / 1.019 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.6471, allocations: 0 / 1.019 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.188e-05/0.6471, allocations: 4 kB / 1.019 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.213e-06/0.6471, allocations: 3.984 kB / 1.019 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.6471, allocations: 7.875 kB / 1.019 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.6471, allocations: 8.062 kB / 1.019 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.6471, allocations: 0 / 1.019 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.168e-05/0.6472, allocations: 65.98 kB / 1.019 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.292e-05/0.6473, allocations: 81.02 kB / 1.019 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.408e-05/0.6473, allocations: 7.938 kB / 1.019 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.478e-05/0.6474, allocations: 0 / 1.019 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.814e-05/0.6474, allocations: 15.95 kB / 1.019 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.6474, allocations: 4 kB / 1.019 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.589e-05/0.6474, allocations: 75.28 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.6475, allocations: 0 / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001734/0.6476, allocations: 0 / 1.02 GB, free: 15.55 MB / 0.7794 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001266/0.6478, allocations: 99.72 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.816e-05/0.6479, allocations: 8.156 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.6479, allocations: 4.062 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.582e-05/0.6479, allocations: 15.92 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001418/0.648, allocations: 2.531 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000245/0.6483, allocations: 89.92 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003248/0.6486, allocations: 0.6768 MB / 1.02 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.825e-05/0.6486, allocations: 128 / 1.02 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.397e-05/0.6487, allocations: 15.44 kB / 1.02 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.6487, allocations: 0 / 1.02 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of Templates: time 0.002441/0.6511, allocations: 197 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Fluid.Examples.Performance.Example8.makefile (rm -f Buildings_10_Buildings.Fluid.Examples.Performance.Example8.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.Performance.Example8.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.Performance.Example8.sim & ./Buildings_10_Buildings.Fluid.Examples.Performance.Example8 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Examples.Performance.Example8_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Examples_Performance_Example8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Examples.Performance.Example8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches