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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.00105/0.00105, allocations: 106 kB / 16.36 MB, free: 5.824 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.001125/0.001126, allocations: 192.8 kB / 17.29 MB, free: 5.48 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.29/1.29, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.411/2.411, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00216/0.00216, allocations: 64.31 kB / 0.8773 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2859/0.288, allocations: 153 MB / 1.027 GB, free: 2.051 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.001591/0.2897, allocations: 0.5267 MB / 1.027 GB, free: 1.523 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0001133/0.2898, allocations: 19.91 kB / 1.027 GB, free: 1.504 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.947e-05/0.2898, allocations: 3.938 kB / 1.027 GB, free: 1.5 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.099e-05/0.2899, allocations: 0 / 1.027 GB, free: 1.5 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001395/0.29, allocations: 15.92 kB / 1.027 GB, free: 1.484 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 3.978e-06/0.29, allocations: 0 / 1.027 GB, free: 1.484 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 4.636e-05/0.2901, allocations: 0 / 1.027 GB, free: 1.484 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.87e-05/0.2901, allocations: 4 kB / 1.027 GB, free: 1.48 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.742e-05/0.2902, allocations: 0 / 1.027 GB, free: 1.48 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.678e-05/0.2902, allocations: 0 / 1.027 GB, free: 1.48 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.076e-05/0.2902, allocations: 3.938 kB / 1.027 GB, free: 1.477 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 7.424e-06/0.2902, allocations: 4 kB / 1.027 GB, free: 1.473 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 9.618e-06/0.2902, allocations: 0 / 1.027 GB, free: 1.473 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 1.381e-05/0.2903, allocations: 3.984 kB / 1.027 GB, free: 1.469 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 3.727e-05/0.2903, allocations: 0 / 1.027 GB, free: 1.469 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.2903, allocations: 7.984 kB / 1.027 GB, free: 1.461 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2903, allocations: 3.938 kB / 1.027 GB, free: 1.457 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.077e-06/0.2903, allocations: 0 / 1.027 GB, free: 1.457 MB / 0.795 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.0002458/0.2906, allocations: 312.8 kB / 1.028 GB, free: 1.105 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.2906, allocations: 12.03 kB / 1.028 GB, free: 1.094 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.359e-05/0.2906, allocations: 0.9375 kB / 1.028 GB, free: 1.094 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.708e-05/0.2907, allocations: 164.4 kB / 1.028 GB, free: 0.8945 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.876e-06/0.2908, allocations: 4.312 kB / 1.028 GB, free: 0.8906 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.07e-05/0.2908, allocations: 4.375 kB / 1.028 GB, free: 0.8867 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.205e-05/0.2909, allocations: 43.98 kB / 1.028 GB, free: 0.832 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.2909, allocations: 7.938 kB / 1.028 GB, free: 0.8242 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.334e-06/0.2909, allocations: 0 / 1.028 GB, free: 0.8242 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.2909, allocations: 0 / 1.028 GB, free: 0.8242 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.006e-05/0.2909, allocations: 3.938 kB / 1.028 GB, free: 0.8203 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001311/0.2911, allocations: 162.5 kB / 1.028 GB, free: 0.6094 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 4.825e-05/0.2911, allocations: 45.16 kB / 1.028 GB, free: 0.5469 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.852e-05/0.2911, allocations: 9.844 kB / 1.028 GB, free: 0.5312 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.073e-05/0.2912, allocations: 4 kB / 1.028 GB, free: 0.5273 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.006e-05/0.2912, allocations: 34.56 kB / 1.028 GB, free: 496 kB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.2912, allocations: 0 / 1.028 GB, free: 496 kB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0001252/0.2913, allocations: 49.75 kB / 1.028 GB, free: 440 kB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.809e-05/0.2914, allocations: 81.11 kB / 1.028 GB, free: 340 kB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.398e-05/0.2914, allocations: 93.86 kB / 1.028 GB, free: 236 kB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.036e-05/0.2914, allocations: 25.7 kB / 1.028 GB, free: 204 kB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 2.52e-05/0.2915, allocations: 82.59 kB / 1.028 GB, free: 120 kB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.468e-05/0.2915, allocations: 15.83 kB / 1.028 GB, free: 104 kB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.43e-05/0.2915, allocations: 9.719 kB / 1.028 GB, free: 88 kB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.576e-05/0.2916, allocations: 319 kB / 1.029 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.085e-05/0.2917, allocations: 4 kB / 1.029 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.167e-05/0.2917, allocations: 13.66 kB / 1.029 GB, free: 15.74 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.314e-05/0.2917, allocations: 25.66 kB / 1.029 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.2917, allocations: 0 / 1.029 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.301e-05/0.2918, allocations: 45.61 kB / 1.029 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.2918, allocations: 12.06 kB / 1.029 GB, free: 15.65 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.2918, allocations: 0 / 1.029 GB, free: 15.65 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.2918, allocations: 4 kB / 1.029 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.709e-05/0.2919, allocations: 0 / 1.029 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.2919, allocations: 4 kB / 1.029 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.548e-05/0.2919, allocations: 0 / 1.029 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.054e-06/0.2919, allocations: 3.984 kB / 1.029 GB, free: 15.64 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 5.837e-05/0.292, allocations: 117.8 kB / 1.029 GB, free: 15.51 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.167e-06/0.292, allocations: 3.938 kB / 1.029 GB, free: 15.51 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001119/0.2921, allocations: 52.75 kB / 1.029 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.2921, allocations: 3.938 kB / 1.029 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.2921, allocations: 0 / 1.029 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.2922, allocations: 4 kB / 1.029 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.817e-05/0.2922, allocations: 145.6 kB / 1.029 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.2922, allocations: 3.984 kB / 1.029 GB, free: 15.24 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.243e-05/0.2923, allocations: 4 kB / 1.029 GB, free: 15.24 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.2923, allocations: 3.938 kB / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.2923, allocations: 8.062 kB / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.2923, allocations: 0 / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2923, allocations: 0 / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.019e-05/0.2924, allocations: 69.92 kB / 1.029 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.39e-05/0.2924, allocations: 81.11 kB / 1.029 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.135e-05/0.2924, allocations: 3.938 kB / 1.029 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.462e-05/0.2925, allocations: 32 / 1.029 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.553e-05/0.2925, allocations: 8 kB / 1.029 GB, free: 15.03 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/0.2925, allocations: 4 kB / 1.029 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.806e-05/0.2925, allocations: 75.28 kB / 1.029 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2925, allocations: 0 / 1.029 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001767/0.2927, allocations: 0 / 1.029 GB, free: 14.95 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 8.68e-05/0.2928, allocations: 99.23 kB / 1.029 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 6.927e-05/0.2929, allocations: 16.03 kB / 1.029 GB, free: 14.83 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.2929, allocations: 0 / 1.029 GB, free: 14.83 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.06e-05/0.2929, allocations: 8 kB / 1.029 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001287/0.293, allocations: 0 / 1.029 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000185/0.2932, allocations: 97.86 kB / 1.03 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001845/0.2934, allocations: 0.6768 MB / 1.03 GB, free: 13.99 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.498e-05/0.2934, allocations: 256 / 1.03 GB, free: 13.99 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.685e-05/0.2935, allocations: 15.38 kB / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of SimCode: time 2.3e-07/0.2935, allocations: 0 / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of Templates: time 0.001706/0.2952, allocations: 192.9 kB / 1.03 GB, free: 13.79 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches