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: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example5,fileNamePrefix="Buildings_10_Buildings_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example5,fileNamePrefix="Buildings_10_Buildings_Fluid_Examples_Performance_Example5",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.001266/0.001266, allocations: 108 kB / 15.6 MB, free: 128 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.001213/0.001213, allocations: 197.9 kB / 16.53 MB, free: 6.672 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.197/1.197, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.265/2.265, allocations: 437 MB / 0.7104 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 67.89 kB / 0.8693 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4881/0.4893, allocations: 151.6 MB / 1.017 GB, free: 2.504 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001427/0.4908, allocations: 0.5287 MB / 1.018 GB, free: 1.973 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001399/0.491, allocations: 43.86 kB / 1.018 GB, free: 1.93 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.252e-05/0.491, allocations: 0 / 1.018 GB, free: 1.93 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.141e-05/0.491, allocations: 3.938 kB / 1.018 GB, free: 1.926 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001116/0.4912, allocations: 4 kB / 1.018 GB, free: 1.922 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 3.741e-05/0.4912, allocations: 4 kB / 1.018 GB, free: 1.918 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.469e-05/0.4913, allocations: 19.92 kB / 1.018 GB, free: 1.898 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.78e-05/0.4913, allocations: 7.984 kB / 1.018 GB, free: 1.891 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.011e-05/0.4913, allocations: 3.938 kB / 1.018 GB, free: 1.887 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.619e-05/0.4914, allocations: 7.938 kB / 1.018 GB, free: 1.879 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.565e-05/0.4914, allocations: 4 kB / 1.018 GB, free: 1.875 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 7.704e-06/0.4914, allocations: 0 / 1.018 GB, free: 1.875 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.683e-05/0.4915, allocations: 7.984 kB / 1.018 GB, free: 1.867 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.63e-05/0.4915, allocations: 7.938 kB / 1.018 GB, free: 1.859 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 4.707e-05/0.4916, allocations: 11.97 kB / 1.018 GB, free: 1.848 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.4916, allocations: 3.938 kB / 1.018 GB, free: 1.844 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.102e-06/0.4916, allocations: 4 kB / 1.018 GB, free: 1.84 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.4916, allocations: 0 / 1.018 GB, free: 1.84 MB / 0.7637 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.0003477/0.4919, allocations: 333.7 kB / 1.018 GB, free: 1.465 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.02e-05/0.492, allocations: 8.031 kB / 1.018 GB, free: 1.457 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.61e-05/0.492, allocations: 30.75 kB / 1.018 GB, free: 1.418 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.977e-05/0.492, allocations: 8.781 kB / 1.018 GB, free: 1.41 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001485/0.4922, allocations: 172.4 kB / 1.019 GB, free: 1.203 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.342e-06/0.4922, allocations: 384 / 1.019 GB, free: 1.203 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.5e-05/0.4922, allocations: 4.359 kB / 1.019 GB, free: 1.199 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.172e-05/0.4923, allocations: 42.25 kB / 1.019 GB, free: 1.152 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.4923, allocations: 3.938 kB / 1.019 GB, free: 1.148 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.23e-06/0.4923, allocations: 0 / 1.019 GB, free: 1.148 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.226e-06/0.4923, allocations: 0 / 1.019 GB, free: 1.148 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.609e-05/0.4923, allocations: 4 kB / 1.019 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001294/0.4925, allocations: 153.7 kB / 1.019 GB, free: 0.9453 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 3.515e-05/0.4925, allocations: 22.52 kB / 1.019 GB, free: 0.9141 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.682e-05/0.4925, allocations: 8.844 kB / 1.019 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 1.079e-05/0.4925, allocations: 4 kB / 1.019 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.4926, allocations: 34.62 kB / 1.019 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.4926, allocations: 0 / 1.019 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of matching and sorting (n=1): time 0.0001095/0.4927, allocations: 45.53 kB / 1.019 GB, free: 0.8047 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.843e-05/0.4927, allocations: 55.34 kB / 1.019 GB, free: 0.7383 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.153e-05/0.4928, allocations: 113.8 kB / 1.019 GB, free: 0.6172 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.109e-05/0.4928, allocations: 25.7 kB / 1.019 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 3.367e-05/0.4929, allocations: 88.27 kB / 1.019 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 1.569e-05/0.4929, allocations: 3.984 kB / 1.019 GB, free: 0.4922 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.642e-05/0.4929, allocations: 13.72 kB / 1.019 GB, free: 484 kB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 9.738e-05/0.493, allocations: 314.8 kB / 1.019 GB, free: 160 kB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.233e-05/0.493, allocations: 0 / 1.019 GB, free: 160 kB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.722e-05/0.4931, allocations: 17.95 kB / 1.019 GB, free: 136 kB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.565e-05/0.4931, allocations: 25.78 kB / 1.02 GB, free: 104 kB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.4931, allocations: 4 kB / 1.02 GB, free: 100 kB / 0.7637 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.416e-05/0.4932, allocations: 45.62 kB / 1.02 GB, free: 48 kB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.4932, allocations: 13.5 kB / 1.02 GB, free: 36 kB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.4932, allocations: 3.938 kB / 1.02 GB, free: 32 kB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.518e-06/0.4932, allocations: 3.938 kB / 1.02 GB, free: 28 kB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.324e-05/0.4933, allocations: 7.984 kB / 1.02 GB, free: 20 kB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/0.4933, allocations: 0 / 1.02 GB, free: 20 kB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.426e-05/0.4933, allocations: 11.97 kB / 1.02 GB, free: 8 kB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.4933, allocations: 4 kB / 1.02 GB, free: 4 kB / 0.7637 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.479e-05/0.4934, allocations: 105.8 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.049e-05/0.4934, allocations: 11.88 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.155e-05/0.4935, allocations: 53.14 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.4935, allocations: 0 / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.4935, allocations: 4 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.4935, allocations: 0 / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001026/0.4936, allocations: 153.7 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.4936, allocations: 4.031 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.209e-05/0.4937, allocations: 4 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.4937, allocations: 3.938 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.4937, allocations: 0 / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.4937, allocations: 0 / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.4937, allocations: 0 / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001031/0.4938, allocations: 81.05 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.476e-05/0.4939, allocations: 85.11 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.321e-05/0.4939, allocations: 7.922 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.949e-05/0.4939, allocations: 4.031 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.186e-05/0.4939, allocations: 0 / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-06/0.4939, allocations: 0 / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.437e-05/0.494, allocations: 91.27 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.494, allocations: 0 / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001678/0.4942, allocations: 8 kB / 1.02 GB, free: 15.3 MB / 0.7794 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.0003077/0.4945, allocations: 0.6138 MB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.274e-05/0.4946, allocations: 12 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.4946, allocations: 0 / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.319e-05/0.4946, allocations: 11.98 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001177/0.4947, allocations: 0 / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007838/0.4955, allocations: 1.159 MB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001993/0.4957, allocations: 0.6807 MB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.404e-05/0.4957, allocations: 7.875 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.624e-05/0.4958, allocations: 15.44 kB / 1.023 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.4958, allocations: 0 / 1.023 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.857/2.353, allocations: 1.156 MB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.504/10.86, allocations: 10.06 kB / 1.024 GB, free: 11.54 MB / 0.7794 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Examples.Performance.Example5_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Examples_Performance_Example5_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Examples_Performance_Example5.fmu > 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Examples.Performance.Example5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches