Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Examples.Performance.Example5.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|c",fileNamePrefix="Buildings_11_Buildings.Fluid.Examples.Performance.Example5") translateModel(Buildings.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|c",fileNamePrefix="Buildings_11_Buildings.Fluid.Examples.Performance.Example5") 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: 108.2 kB / 15.99 MB, free: 5.895 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.001947/0.001947, allocations: 193.9 kB / 16.91 MB, free: 5.746 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.413/1.413, allocations: 222.9 MB / 240.6 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.831/2.831, allocations: 469.8 MB / 0.7427 GB, free: 7.516 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001877/0.001877, allocations: 68.14 kB / 0.9087 GB, free: 34.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2996/0.3015, allocations: 159.1 MB / 1.064 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.002035/0.3036, allocations: 0.6073 MB / 1.065 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001917/0.3038, allocations: 35.88 kB / 1.065 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.07e-05/0.3039, allocations: 0 / 1.065 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.844e-05/0.304, allocations: 0 / 1.065 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001494/0.3041, allocations: 7.938 kB / 1.065 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 5.654e-05/0.3042, allocations: 11.98 kB / 1.065 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.34e-05/0.3043, allocations: 7.984 kB / 1.065 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.285e-05/0.3043, allocations: 0 / 1.065 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.756e-05/0.3044, allocations: 7.938 kB / 1.065 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.809e-05/0.3045, allocations: 19.92 kB / 1.065 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.477e-05/0.3045, allocations: 0 / 1.065 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.626e-06/0.3045, allocations: 0 / 1.065 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.208e-05/0.3045, allocations: 4 kB / 1.065 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.896e-05/0.3046, allocations: 7.922 kB / 1.065 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 5.052e-05/0.3046, allocations: 7.984 kB / 1.065 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3046, allocations: 0 / 1.065 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.963e-06/0.3047, allocations: 0 / 1.065 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.937e-06/0.3047, allocations: 4 kB / 1.065 GB, free: 13.84 MB / 0.8262 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.0005046/0.3052, allocations: 335.5 kB / 1.065 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.3052, allocations: 12.03 kB / 1.065 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.382e-05/0.3053, allocations: 0.9375 kB / 1.065 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002052/0.3055, allocations: 168.6 kB / 1.065 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.3055, allocations: 384 / 1.065 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.178e-05/0.3055, allocations: 8.359 kB / 1.065 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.348e-05/0.3056, allocations: 30.27 kB / 1.065 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.3056, allocations: 192 / 1.065 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.3056, allocations: 11.88 kB / 1.065 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.3057, allocations: 3.938 kB / 1.065 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.183e-05/0.3057, allocations: 7.984 kB / 1.065 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001914/0.3059, allocations: 157.6 kB / 1.066 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 4.603e-05/0.3059, allocations: 18.61 kB / 1.066 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.617e-05/0.306, allocations: 8.922 kB / 1.066 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.549e-05/0.306, allocations: 0 / 1.066 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/0.306, allocations: 30.56 kB / 1.066 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.306, allocations: 4 kB / 1.066 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0001597/0.3062, allocations: 53.55 kB / 1.066 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.492e-05/0.3062, allocations: 55.34 kB / 1.066 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/0.3064, allocations: 118 kB / 1.066 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.3064, allocations: 25.7 kB / 1.066 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.743e-05/0.3064, allocations: 80.14 kB / 1.066 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.878e-05/0.3065, allocations: 0 / 1.066 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.977e-05/0.3065, allocations: 17.72 kB / 1.066 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.3067, allocations: 319 kB / 1.066 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.945e-05/0.3067, allocations: 4 kB / 1.066 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.829e-05/0.3067, allocations: 17.78 kB / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.248e-05/0.3068, allocations: 29.64 kB / 1.066 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.3068, allocations: 0 / 1.066 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.177e-05/0.3069, allocations: 57.59 kB / 1.066 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.3069, allocations: 4 kB / 1.066 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.3069, allocations: 3.938 kB / 1.066 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.307, allocations: 0 / 1.066 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.846e-05/0.307, allocations: 4 kB / 1.066 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.307, allocations: 4 kB / 1.066 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.412e-05/0.3071, allocations: 0 / 1.066 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.3071, allocations: 0 / 1.066 GB, free: 12.05 MB / 0.8262 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 9.337e-05/0.3072, allocations: 113.8 kB / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.007e-06/0.3072, allocations: 4.062 kB / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001181/0.3073, allocations: 53.16 kB / 1.067 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.3073, allocations: 0 / 1.067 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/0.3073, allocations: 3.938 kB / 1.067 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.3074, allocations: 0 / 1.067 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001513/0.3075, allocations: 153.7 kB / 1.067 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.3075, allocations: 3.984 kB / 1.067 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.201e-05/0.3076, allocations: 4 kB / 1.067 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.3076, allocations: 0 / 1.067 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.3076, allocations: 7.938 kB / 1.067 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.3076, allocations: 4.031 kB / 1.067 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3076, allocations: 0 / 1.067 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001384/0.3078, allocations: 81 kB / 1.067 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.957e-05/0.3078, allocations: 85.08 kB / 1.067 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.3079, allocations: 3.938 kB / 1.067 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.381e-05/0.3079, allocations: 0 / 1.067 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.658e-05/0.3079, allocations: 7.938 kB / 1.067 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.3079, allocations: 8.094 kB / 1.067 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.61e-05/0.308, allocations: 87.27 kB / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.2e-07/0.308, allocations: 3.938 kB / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001824/0.3082, allocations: 8 kB / 1.067 GB, free: 11.33 MB / 0.8262 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 () * 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.0001248/0.3083, allocations: 95.88 kB / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001014/0.3084, allocations: 11.98 kB / 1.067 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3084, allocations: 0 / 1.067 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.976e-05/0.3085, allocations: 16.11 kB / 1.067 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001525/0.3086, allocations: 7.078 kB / 1.067 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003173/0.3089, allocations: 149.1 kB / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003164/0.3093, allocations: 0.6768 MB / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.83e-05/0.3093, allocations: 7.438 kB / 1.068 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of SimCode: time 8.02e-07/0.3093, allocations: 4 kB / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of Templates: time 0.002146/0.3115, allocations: 0.5037 MB / 1.068 GB, free: 9.801 MB / 0.8262 GB make -j1 -f Buildings_11_Buildings.Fluid.Examples.Performance.Example5.makefile (rm -f Buildings_11_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_11_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_11_Buildings.Fluid.Examples.Performance.Example5.sim & ./Buildings_11_Buildings.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Examples.Performance.Example5_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Examples_Performance_Example5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Examples.Performance.Example5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches