Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.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: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example8,fileNamePrefix="Buildings_11_Buildings_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example8,fileNamePrefix="Buildings_11_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.001431/0.001431, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001384/0.001384, allocations: 192.6 kB / 16.53 MB, free: 6.664 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.323/1.323, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.637/2.637, allocations: 469.8 MB / 0.7424 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001855/0.001855, allocations: 63 kB / 0.9086 GB, free: 34.26 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2809/0.2827, allocations: 159.2 MB / 1.064 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.001714/0.2845, allocations: 0.5291 MB / 1.065 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001154/0.2846, allocations: 15.92 kB / 1.065 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.403e-05/0.2847, allocations: 0 / 1.065 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.063e-05/0.2847, allocations: 0 / 1.065 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000139/0.2848, allocations: 11.91 kB / 1.065 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 3.627e-06/0.2848, allocations: 0 / 1.065 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.089e-05/0.2849, allocations: 8 kB / 1.065 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.349e-05/0.2849, allocations: 4 kB / 1.065 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.663e-05/0.285, allocations: 0 / 1.065 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.694e-05/0.285, allocations: 4 kB / 1.065 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.468e-05/0.285, allocations: 3.938 kB / 1.065 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.342e-06/0.285, allocations: 0 / 1.065 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.308e-06/0.2851, allocations: 4 kB / 1.065 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.285e-05/0.2851, allocations: 0 / 1.065 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 3.899e-05/0.2851, allocations: 3.984 kB / 1.065 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.2851, allocations: 0 / 1.065 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.072e-06/0.2851, allocations: 0 / 1.065 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.194e-06/0.2851, allocations: 4 kB / 1.065 GB, free: 13.65 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003035/0.2854, allocations: 315.5 kB / 1.065 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.2855, allocations: 15.97 kB / 1.065 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.493e-05/0.2855, allocations: 30.75 kB / 1.065 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.018e-05/0.2856, allocations: 0.9375 kB / 1.065 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001208/0.2857, allocations: 172.3 kB / 1.065 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.692e-06/0.2857, allocations: 384 / 1.065 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.273e-05/0.2857, allocations: 4.375 kB / 1.065 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001021/0.2858, allocations: 43.98 kB / 1.065 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.2858, allocations: 3.938 kB / 1.065 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.001e-06/0.2858, allocations: 0 / 1.065 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.2859, allocations: 0 / 1.065 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.317e-05/0.2859, allocations: 7.938 kB / 1.065 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001589/0.286, allocations: 154.5 kB / 1.065 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.374e-05/0.2861, allocations: 49.16 kB / 1.065 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.256e-05/0.2861, allocations: 13.84 kB / 1.065 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.777e-05/0.2862, allocations: 0 / 1.065 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/0.2862, allocations: 34.55 kB / 1.065 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 6.62e-07/0.2862, allocations: 0 / 1.065 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001321/0.2863, allocations: 49.58 kB / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.639e-05/0.2864, allocations: 81.36 kB / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.51e-05/0.2865, allocations: 89.86 kB / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.2865, allocations: 25.7 kB / 1.066 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.217e-05/0.2865, allocations: 84.12 kB / 1.066 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.798e-05/0.2866, allocations: 16.12 kB / 1.066 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.713e-05/0.2866, allocations: 9.719 kB / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.2867, allocations: 310.8 kB / 1.066 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.329e-05/0.2868, allocations: 8.125 kB / 1.066 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.704e-05/0.2868, allocations: 9.719 kB / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.705e-05/0.2868, allocations: 25.66 kB / 1.066 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.2868, allocations: 0 / 1.066 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.547e-05/0.2869, allocations: 45.62 kB / 1.066 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.2869, allocations: 7.938 kB / 1.066 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.2869, allocations: 8.125 kB / 1.066 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.287, allocations: 4 kB / 1.066 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.707e-05/0.287, allocations: 4 kB / 1.066 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.287, allocations: 0 / 1.066 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.881e-05/0.2871, allocations: 3.984 kB / 1.066 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-06/0.2871, allocations: 0 / 1.066 GB, free: 11.79 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 7.133e-05/0.2871, allocations: 109.8 kB / 1.066 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.446e-05/0.2872, allocations: 7.844 kB / 1.066 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001012/0.2873, allocations: 60.67 kB / 1.066 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.2873, allocations: 0 / 1.066 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.2873, allocations: 4 kB / 1.066 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.2873, allocations: 3.938 kB / 1.066 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001079/0.2874, allocations: 149.7 kB / 1.067 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.2874, allocations: 0 / 1.067 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.208e-05/0.2874, allocations: 4 kB / 1.067 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.117e-06/0.2874, allocations: 3.938 kB / 1.067 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.2875, allocations: 4 kB / 1.067 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.2875, allocations: 4.062 kB / 1.067 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.2875, allocations: 0 / 1.067 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.78e-05/0.2876, allocations: 69.92 kB / 1.067 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.146e-05/0.2876, allocations: 81.11 kB / 1.067 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.146e-05/0.2876, allocations: 3.938 kB / 1.067 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.478e-05/0.2877, allocations: 0 / 1.067 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.589e-05/0.2877, allocations: 4.031 kB / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/0.2877, allocations: 4 kB / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.767e-05/0.2877, allocations: 79.27 kB / 1.067 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2877, allocations: 0 / 1.067 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001759/0.2879, allocations: 0 / 1.067 GB, free: 11.1 MB / 0.8262 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.0003898/0.2883, allocations: 0.6133 MB / 1.067 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.374e-05/0.2884, allocations: 4 kB / 1.067 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2884, allocations: 0 / 1.067 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.23e-05/0.2884, allocations: 7.938 kB / 1.067 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001297/0.2886, allocations: 8 kB / 1.067 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002861/0.2889, allocations: 123.9 kB / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002746/0.2891, allocations: 0.669 MB / 1.068 GB, free: 9.574 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.502e-05/0.2892, allocations: 0 / 1.068 GB, free: 9.574 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.392e-05/0.2892, allocations: 15.42 kB / 1.068 GB, free: 9.559 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.2892, allocations: 0 / 1.068 GB, free: 9.559 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.253/2.542, allocations: 0.9014 MB / 1.069 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/13.65, allocations: 15.08 kB / 1.069 GB, free: 8.699 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Fluid.Examples.Performance.Example8.pipe ; mkfifo Buildings_11_Buildings.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Examples.Performance.Example8.pipe >> ../files/Buildings_11_Buildings.Fluid.Examples.Performance.Example8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Examples.Performance.Example8_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Examples_Performance_Example8_fmu --startTime=0 --stopTime=50 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Examples_Performance_Example8.fmu > Buildings_11_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Examples.Performance.Example8_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Examples_Performance_Example8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Examples.Performance.Example8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches