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/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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001566/0.001566, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002262/0.002262, allocations: 197.9 kB / 16.14 MB, free: 6.719 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.442/1.442, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.91/2.91, allocations: 461.8 MB / 0.7342 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 65.2 kB / 0.8984 GB, free: 37.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3557/0.3569, allocations: 157.4 MB / 1.052 GB, free: 8.922 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.002079/0.3591, allocations: 0.5762 MB / 1.053 GB, free: 8.34 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001296/0.3592, allocations: 15.97 kB / 1.053 GB, free: 8.324 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.674e-05/0.3593, allocations: 0 / 1.053 GB, free: 8.324 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.943e-05/0.3593, allocations: 0 / 1.053 GB, free: 8.324 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001632/0.3595, allocations: 11.92 kB / 1.053 GB, free: 8.312 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 2.926e-06/0.3595, allocations: 4 kB / 1.053 GB, free: 8.309 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.213e-05/0.3595, allocations: 0 / 1.053 GB, free: 8.309 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.771e-05/0.3596, allocations: 4 kB / 1.053 GB, free: 8.305 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.406e-05/0.3596, allocations: 0 / 1.053 GB, free: 8.305 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.409e-05/0.3597, allocations: 7.922 kB / 1.053 GB, free: 8.297 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.892e-05/0.3597, allocations: 4 kB / 1.053 GB, free: 8.293 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.668e-06/0.3597, allocations: 0 / 1.053 GB, free: 8.293 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.1e-05/0.3597, allocations: 0 / 1.053 GB, free: 8.293 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 1.573e-05/0.3597, allocations: 3.938 kB / 1.053 GB, free: 8.289 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 3.769e-05/0.3598, allocations: 3.984 kB / 1.053 GB, free: 8.285 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.3598, allocations: 0 / 1.053 GB, free: 8.285 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.907e-06/0.3598, allocations: 4 kB / 1.053 GB, free: 8.281 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.3598, allocations: 7.938 kB / 1.053 GB, free: 8.273 MB / 0.8106 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.0004319/0.3603, allocations: 323.5 kB / 1.053 GB, free: 7.906 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.3603, allocations: 8.031 kB / 1.053 GB, free: 7.898 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.154e-05/0.3603, allocations: 4.875 kB / 1.053 GB, free: 7.895 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.3605, allocations: 160.4 kB / 1.053 GB, free: 7.699 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.3605, allocations: 384 / 1.053 GB, free: 7.699 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.046e-05/0.3605, allocations: 4.375 kB / 1.053 GB, free: 7.695 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/0.3606, allocations: 51.98 kB / 1.053 GB, free: 7.633 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.936e-06/0.3606, allocations: 192 / 1.053 GB, free: 7.633 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.3606, allocations: 3.938 kB / 1.053 GB, free: 7.629 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.3607, allocations: 3.984 kB / 1.053 GB, free: 7.625 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.528e-05/0.3607, allocations: 7.938 kB / 1.053 GB, free: 7.617 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001779/0.3609, allocations: 150.5 kB / 1.053 GB, free: 7.418 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.891e-05/0.3609, allocations: 41.16 kB / 1.053 GB, free: 7.359 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.598e-05/0.361, allocations: 17.83 kB / 1.053 GB, free: 7.336 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.374e-05/0.361, allocations: 0 / 1.053 GB, free: 7.336 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/0.361, allocations: 34.56 kB / 1.054 GB, free: 7.293 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.361, allocations: 0 / 1.054 GB, free: 7.293 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001627/0.3612, allocations: 49.8 kB / 1.054 GB, free: 7.238 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.087e-05/0.3613, allocations: 81.09 kB / 1.054 GB, free: 7.141 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.454e-05/0.3613, allocations: 93.86 kB / 1.054 GB, free: 7.039 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.3613, allocations: 25.7 kB / 1.054 GB, free: 7.008 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.988e-05/0.3614, allocations: 80.14 kB / 1.054 GB, free: 6.926 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.385e-05/0.3614, allocations: 12.12 kB / 1.054 GB, free: 6.914 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.004e-05/0.3615, allocations: 13.72 kB / 1.054 GB, free: 6.895 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.3616, allocations: 315 kB / 1.054 GB, free: 6.578 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.273e-05/0.3616, allocations: 8 kB / 1.054 GB, free: 6.57 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.792e-05/0.3616, allocations: 13.7 kB / 1.054 GB, free: 6.551 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.534e-05/0.3617, allocations: 21.66 kB / 1.054 GB, free: 6.523 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3617, allocations: 0 / 1.054 GB, free: 6.523 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.773e-05/0.3618, allocations: 41.64 kB / 1.054 GB, free: 6.477 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.3618, allocations: 8.125 kB / 1.054 GB, free: 6.469 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.3618, allocations: 3.938 kB / 1.054 GB, free: 6.465 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.3618, allocations: 4 kB / 1.054 GB, free: 6.461 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.328e-05/0.3619, allocations: 3.984 kB / 1.054 GB, free: 6.457 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.3619, allocations: 4 kB / 1.054 GB, free: 6.453 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.876e-05/0.362, allocations: 3.938 kB / 1.054 GB, free: 6.449 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.882e-06/0.362, allocations: 0 / 1.054 GB, free: 6.449 MB / 0.8106 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.224e-05/0.3621, allocations: 109.8 kB / 1.054 GB, free: 6.332 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.879e-06/0.3621, allocations: 4 kB / 1.054 GB, free: 6.328 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001229/0.3622, allocations: 56.69 kB / 1.054 GB, free: 6.27 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.3622, allocations: 0 / 1.054 GB, free: 6.27 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.3622, allocations: 0 / 1.054 GB, free: 6.27 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.3622, allocations: 7.984 kB / 1.054 GB, free: 6.262 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001073/0.3623, allocations: 145.7 kB / 1.055 GB, free: 6.07 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3624, allocations: 3.938 kB / 1.055 GB, free: 6.066 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.262e-05/0.3624, allocations: 4 kB / 1.055 GB, free: 6.062 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.3624, allocations: 0 / 1.055 GB, free: 6.062 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-06/0.3624, allocations: 12 kB / 1.055 GB, free: 6.051 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.3624, allocations: 0 / 1.055 GB, free: 6.051 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3624, allocations: 0 / 1.055 GB, free: 6.051 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001823/0.3626, allocations: 73.83 kB / 1.055 GB, free: 5.957 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.702e-05/0.3627, allocations: 81.11 kB / 1.055 GB, free: 5.859 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.342e-05/0.3627, allocations: 3.938 kB / 1.055 GB, free: 5.855 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.636e-05/0.3627, allocations: 4 kB / 1.055 GB, free: 5.852 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.3e-05/0.3627, allocations: 12.02 kB / 1.055 GB, free: 5.84 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-06/0.3627, allocations: 4 kB / 1.055 GB, free: 5.836 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001153/0.3629, allocations: 75.28 kB / 1.055 GB, free: 5.762 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3629, allocations: 0 / 1.055 GB, free: 5.762 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001859/0.3631, allocations: 0 / 1.055 GB, free: 5.762 MB / 0.8106 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.0001196/0.3632, allocations: 95.25 kB / 1.055 GB, free: 5.656 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 7.754e-05/0.3633, allocations: 16.03 kB / 1.055 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3633, allocations: 0 / 1.055 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.101e-05/0.3633, allocations: 7.984 kB / 1.055 GB, free: 5.633 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001392/0.3634, allocations: 4 kB / 1.055 GB, free: 5.629 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002494/0.3637, allocations: 95.75 kB / 1.055 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003023/0.364, allocations: 0.677 MB / 1.056 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.142e-05/0.364, allocations: 4.25 kB / 1.056 GB, free: 4.797 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.198e-05/0.3641, allocations: 11.44 kB / 1.056 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of SimCode: time 3.3e-07/0.3641, allocations: 0 / 1.056 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of Templates: time 0.001879/0.3659, allocations: 185 kB / 1.056 GB, free: 4.605 MB / 0.8106 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches