Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|c",fileNamePrefix="Buildings_10_Buildings.Fluid.Examples.Performance.Example5") translateModel(Buildings.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|c",fileNamePrefix="Buildings_10_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.007977/0.007977, allocations: 95.61 kB / 15.73 MB, free: 6.047 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.001683/0.001683, allocations: 197.7 kB / 16.67 MB, free: 5.973 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.417/1.417, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.653/2.653, allocations: 437 MB / 0.7105 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 63.91 kB / 1.019 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2868/0.288, allocations: 151.6 MB / 1.167 GB, free: 6.832 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001403/0.2894, allocations: 0.5388 MB / 1.167 GB, free: 6.293 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001573/0.2896, allocations: 43.8 kB / 1.167 GB, free: 6.25 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.538e-05/0.2896, allocations: 0 / 1.167 GB, free: 6.25 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.332e-05/0.2897, allocations: 0 / 1.167 GB, free: 6.25 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001247/0.2898, allocations: 4 kB / 1.167 GB, free: 6.246 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 4.673e-05/0.2899, allocations: 7.938 kB / 1.167 GB, free: 6.238 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 5.298e-05/0.2899, allocations: 11.92 kB / 1.167 GB, free: 6.227 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.572e-05/0.29, allocations: 4 kB / 1.167 GB, free: 6.223 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.625e-05/0.29, allocations: 7.984 kB / 1.167 GB, free: 6.215 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.982e-05/0.2901, allocations: 15.98 kB / 1.167 GB, free: 6.199 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.674e-05/0.2901, allocations: 0 / 1.167 GB, free: 6.199 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.297e-06/0.2901, allocations: 0 / 1.167 GB, free: 6.199 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.995e-05/0.2902, allocations: 7.875 kB / 1.167 GB, free: 6.191 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.235e-05/0.2902, allocations: 4 kB / 1.167 GB, free: 6.188 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 5.84e-05/0.2903, allocations: 15.91 kB / 1.167 GB, free: 6.172 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.2903, allocations: 0 / 1.167 GB, free: 6.172 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.082e-06/0.2903, allocations: 0 / 1.167 GB, free: 6.172 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.2903, allocations: 0 / 1.167 GB, free: 6.172 MB / 0.92 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.0003391/0.2906, allocations: 339.4 kB / 1.168 GB, free: 5.789 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.037e-05/0.2907, allocations: 8.031 kB / 1.168 GB, free: 5.781 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.72e-05/0.2907, allocations: 8.891 kB / 1.168 GB, free: 5.773 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001566/0.2909, allocations: 168.4 kB / 1.168 GB, free: 5.57 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.803e-06/0.2909, allocations: 384 / 1.168 GB, free: 5.57 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.858e-05/0.2909, allocations: 4.375 kB / 1.168 GB, free: 5.566 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.026e-05/0.291, allocations: 34.25 kB / 1.168 GB, free: 5.527 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.291, allocations: 4.125 kB / 1.168 GB, free: 5.523 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.291, allocations: 3.938 kB / 1.168 GB, free: 5.52 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.291, allocations: 4 kB / 1.168 GB, free: 5.516 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.914e-05/0.291, allocations: 7.938 kB / 1.168 GB, free: 5.508 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001327/0.2912, allocations: 153.7 kB / 1.168 GB, free: 5.309 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 3.713e-05/0.2912, allocations: 22.91 kB / 1.168 GB, free: 5.277 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.004e-05/0.2912, allocations: 8.922 kB / 1.168 GB, free: 5.266 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.253e-05/0.2913, allocations: 3.938 kB / 1.168 GB, free: 5.262 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/0.2913, allocations: 34.56 kB / 1.168 GB, free: 5.219 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.2913, allocations: 0 / 1.168 GB, free: 5.219 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.0001198/0.2914, allocations: 49.52 kB / 1.168 GB, free: 5.164 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.25e-05/0.2914, allocations: 59.41 kB / 1.168 GB, free: 5.094 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.595e-05/0.2915, allocations: 105.8 kB / 1.168 GB, free: 4.98 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.296e-05/0.2915, allocations: 29.69 kB / 1.168 GB, free: 4.945 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.535e-05/0.2916, allocations: 84.14 kB / 1.168 GB, free: 4.859 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.607e-05/0.2916, allocations: 4 kB / 1.168 GB, free: 4.855 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.883e-05/0.2916, allocations: 13.84 kB / 1.168 GB, free: 4.836 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001724/0.2918, allocations: 318.8 kB / 1.169 GB, free: 4.516 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.771e-05/0.2918, allocations: 7.984 kB / 1.169 GB, free: 4.508 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.1e-05/0.2919, allocations: 17.72 kB / 1.169 GB, free: 4.484 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.77e-05/0.2919, allocations: 21.64 kB / 1.169 GB, free: 4.457 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.2919, allocations: 0 / 1.169 GB, free: 4.457 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.919e-05/0.292, allocations: 57.7 kB / 1.169 GB, free: 4.395 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.292, allocations: 4 kB / 1.169 GB, free: 4.391 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.292, allocations: 3.938 kB / 1.169 GB, free: 4.387 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.292, allocations: 0 / 1.169 GB, free: 4.387 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.865e-05/0.2921, allocations: 7.938 kB / 1.169 GB, free: 4.379 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.379e-06/0.2921, allocations: 0 / 1.169 GB, free: 4.379 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.369e-05/0.2921, allocations: 4 kB / 1.169 GB, free: 4.375 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.2922, allocations: 0 / 1.169 GB, free: 4.375 MB / 0.92 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 6.967e-05/0.2922, allocations: 113.9 kB / 1.169 GB, free: 4.254 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.837e-06/0.2922, allocations: 4 kB / 1.169 GB, free: 4.25 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.123e-05/0.2923, allocations: 49.16 kB / 1.169 GB, free: 4.191 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.2923, allocations: 4 kB / 1.169 GB, free: 4.188 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.2924, allocations: 0 / 1.169 GB, free: 4.188 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.2924, allocations: 0 / 1.169 GB, free: 4.188 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.626e-05/0.2925, allocations: 153.9 kB / 1.169 GB, free: 3.988 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.2925, allocations: 7.984 kB / 1.169 GB, free: 3.98 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.737e-05/0.2925, allocations: 7.984 kB / 1.169 GB, free: 3.973 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.2925, allocations: 0 / 1.169 GB, free: 3.973 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.715e-06/0.2925, allocations: 11.91 kB / 1.169 GB, free: 3.961 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2926, allocations: 0 / 1.169 GB, free: 3.961 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.2926, allocations: 7.938 kB / 1.169 GB, free: 3.953 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001091/0.2927, allocations: 77.02 kB / 1.169 GB, free: 3.859 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.152e-05/0.2927, allocations: 81.09 kB / 1.169 GB, free: 3.762 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.49e-05/0.2927, allocations: 11.97 kB / 1.169 GB, free: 3.75 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.053e-05/0.2928, allocations: 0 / 1.169 GB, free: 3.75 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.085e-05/0.2928, allocations: 96 / 1.169 GB, free: 3.75 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.554e-06/0.2928, allocations: 4 kB / 1.169 GB, free: 3.746 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.561e-05/0.2928, allocations: 91.27 kB / 1.169 GB, free: 3.656 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2929, allocations: 0 / 1.169 GB, free: 3.656 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001791/0.293, allocations: 4 kB / 1.169 GB, free: 3.652 MB / 0.92 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 8.914e-05/0.2931, allocations: 95.25 kB / 1.169 GB, free: 3.551 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 7.507e-05/0.2932, allocations: 15.92 kB / 1.169 GB, free: 3.535 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.2932, allocations: 0 / 1.169 GB, free: 3.535 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.351e-05/0.2932, allocations: 8.125 kB / 1.169 GB, free: 3.527 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000132/0.2934, allocations: 10.5 kB / 1.169 GB, free: 3.52 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002395/0.2936, allocations: 113.4 kB / 1.17 GB, free: 3.383 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002192/0.2939, allocations: 0.6807 MB / 1.17 GB, free: 2.676 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 1.614e-05/0.2939, allocations: 0 / 1.17 GB, free: 2.676 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.203e-05/0.2939, allocations: 11.44 kB / 1.17 GB, free: 2.664 MB / 0.92 GB Notification: Performance of SimCode: time 2.41e-07/0.2939, allocations: 0 / 1.17 GB, free: 2.664 MB / 0.92 GB Notification: Performance of Templates: time 0.001977/0.2959, allocations: 321.1 kB / 1.171 GB, free: 2.352 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Fluid.Examples.Performance.Example5.makefile (rm -f Buildings_10_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.Performance.Example5.sim & ./Buildings_10_Buildings.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Examples.Performance.Example5_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Examples_Performance_Example5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Examples.Performance.Example5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches