Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example8,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example8,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008169/0.008169, allocations: 104.5 kB / 15.74 MB, free: 5.992 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.001789/0.001789, allocations: 195.6 kB / 16.68 MB, free: 5.914 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.475/1.475, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.382/2.382, allocations: 390.3 MB / 0.6648 GB, free: 176 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 70.42 kB / 0.9504 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2876/0.289, allocations: 140.4 MB / 1.087 GB, free: 2.055 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.00169/0.2907, allocations: 0.5165 MB / 1.088 GB, free: 1.539 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001342/0.2909, allocations: 11.92 kB / 1.088 GB, free: 1.527 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.672e-05/0.2909, allocations: 0 / 1.088 GB, free: 1.527 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.35e-05/0.291, allocations: 0 / 1.088 GB, free: 1.527 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001518/0.2911, allocations: 11.94 kB / 1.088 GB, free: 1.516 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 3.687e-06/0.2911, allocations: 0 / 1.088 GB, free: 1.516 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 5.89e-05/0.2912, allocations: 15.97 kB / 1.088 GB, free: 1.5 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.774e-05/0.2912, allocations: 0 / 1.088 GB, free: 1.5 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.919e-05/0.2913, allocations: 7.938 kB / 1.088 GB, free: 1.492 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.742e-05/0.2913, allocations: 0 / 1.088 GB, free: 1.492 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.172e-05/0.2914, allocations: 0 / 1.088 GB, free: 1.492 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 6.482e-06/0.2914, allocations: 0 / 1.088 GB, free: 1.492 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.279e-05/0.2914, allocations: 4 kB / 1.088 GB, free: 1.488 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 1.947e-05/0.2914, allocations: 0 / 1.088 GB, free: 1.488 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 4.79e-05/0.2915, allocations: 7.875 kB / 1.088 GB, free: 1.48 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.2915, allocations: 4 kB / 1.088 GB, free: 1.477 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2915, allocations: 0 / 1.088 GB, free: 1.477 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.446e-06/0.2915, allocations: 0 / 1.088 GB, free: 1.477 MB / 0.8419 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.0002904/0.2918, allocations: 315.6 kB / 1.088 GB, free: 1.117 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.2918, allocations: 12.03 kB / 1.088 GB, free: 1.105 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.137e-05/0.2919, allocations: 30.75 kB / 1.088 GB, free: 1.066 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.123e-05/0.2919, allocations: 0.9375 kB / 1.088 GB, free: 1.066 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.766e-05/0.292, allocations: 160.4 kB / 1.089 GB, free: 0.8711 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.292, allocations: 384 / 1.089 GB, free: 0.8711 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.197e-05/0.292, allocations: 8.375 kB / 1.089 GB, free: 0.8633 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001056/0.2921, allocations: 43.97 kB / 1.089 GB, free: 0.8086 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.2922, allocations: 7.938 kB / 1.089 GB, free: 0.8008 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.933e-06/0.2922, allocations: 0 / 1.089 GB, free: 0.8008 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.2922, allocations: 3.984 kB / 1.089 GB, free: 0.7969 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.447e-05/0.2922, allocations: 11.94 kB / 1.089 GB, free: 0.7852 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001495/0.2924, allocations: 158.5 kB / 1.089 GB, free: 0.5781 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 5.844e-05/0.2924, allocations: 41.16 kB / 1.089 GB, free: 0.5195 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.111e-05/0.2925, allocations: 13.84 kB / 1.089 GB, free: 0.5 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.453e-05/0.2925, allocations: 0 / 1.089 GB, free: 0.5 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.2925, allocations: 30.91 kB / 1.089 GB, free: 472 kB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 3.156e-06/0.2925, allocations: 4 kB / 1.089 GB, free: 468 kB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.000163/0.2927, allocations: 53.56 kB / 1.089 GB, free: 408 kB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.405e-05/0.2927, allocations: 77.11 kB / 1.089 GB, free: 312 kB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.516e-05/0.2928, allocations: 89.86 kB / 1.089 GB, free: 212 kB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.2928, allocations: 29.7 kB / 1.089 GB, free: 176 kB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 2.846e-05/0.2929, allocations: 80.14 kB / 1.089 GB, free: 92 kB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.885e-05/0.2929, allocations: 14.66 kB / 1.089 GB, free: 80 kB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.383e-05/0.293, allocations: 18.08 kB / 1.089 GB, free: 56 kB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.2931, allocations: 310.8 kB / 1.089 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.852e-05/0.2931, allocations: 8 kB / 1.089 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.924e-05/0.2931, allocations: 13.66 kB / 1.089 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.344e-05/0.2932, allocations: 21.66 kB / 1.09 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.2932, allocations: 0 / 1.09 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.868e-05/0.2933, allocations: 49.69 kB / 1.09 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.2933, allocations: 7.938 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.2933, allocations: 0 / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.2933, allocations: 4 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.861e-05/0.2934, allocations: 4 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.2934, allocations: 0 / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.669e-05/0.2934, allocations: 0 / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.2934, allocations: 0 / 1.09 GB, free: 15.62 MB / 0.8575 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.952e-05/0.2935, allocations: 121.9 kB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.211e-05/0.2935, allocations: 7.844 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001183/0.2937, allocations: 48.75 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.2937, allocations: 0 / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.2937, allocations: 0 / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.155e-06/0.2937, allocations: 4 kB / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.851e-05/0.2938, allocations: 145.7 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.2938, allocations: 0 / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.825e-05/0.2938, allocations: 7.984 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.2938, allocations: 8 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.2939, allocations: 4 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.2939, allocations: 0 / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.2939, allocations: 3.938 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.822e-05/0.294, allocations: 65.98 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.059e-05/0.294, allocations: 81.11 kB / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.36e-05/0.294, allocations: 7.969 kB / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.617e-05/0.2941, allocations: 4 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.264e-05/0.2941, allocations: 0 / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.2941, allocations: 4 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.309e-05/0.2941, allocations: 79.28 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9e-08/0.2941, allocations: 0 / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001878/0.2943, allocations: 0 / 1.09 GB, free: 14.93 MB / 0.8575 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.00039/0.2947, allocations: 0.6094 MB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 8.356e-05/0.2948, allocations: 11.98 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2948, allocations: 0 / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.364e-05/0.2948, allocations: 11.88 kB / 1.091 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001604/0.295, allocations: 12.22 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000339/0.2954, allocations: 119.6 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002404/0.2956, allocations: 0.669 MB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 1.916e-05/0.2956, allocations: 0 / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.037e-05/0.2957, allocations: 11.44 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of SimCode: time 2.1e-07/0.2957, allocations: 0 / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01725/0.3129, allocations: 0.9208 MB / 1.092 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.449/7.762, allocations: 13.66 kB / 1.092 GB, free: 12.52 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.Example8.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.Example8.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Examples.Performance.Example8_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Examples_Performance_Example8_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Examples_Performance_Example8.fmu > Buildings_9_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.Example8_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_Example8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Examples.Performance.Example8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches