Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",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.00496/0.00496, allocations: 100.2 kB / 15.73 MB, free: 6.027 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.001038/0.001038, allocations: 187.2 kB / 16.67 MB, free: 5.965 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.297/1.297, 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.306/2.306, allocations: 390.2 MB / 0.6648 GB, free: 224 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001723/0.001723, allocations: 64.62 kB / 0.9504 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2787/0.2804, allocations: 140.4 MB / 1.088 GB, free: 2.02 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002877/0.2834, allocations: 1.599 MB / 1.089 GB, free: 416 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00144/0.2848, allocations: 0.9021 MB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.918e-05/0.285, allocations: 11.94 kB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.362e-05/0.285, allocations: 3.938 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002189/0.2852, allocations: 23.78 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003973/0.2857, allocations: 141.9 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000163/0.2858, allocations: 83.62 kB / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.2859, allocations: 15.98 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001052/0.286, allocations: 31.86 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001337/0.2862, allocations: 39.84 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.771e-05/0.2862, allocations: 4 kB / 1.09 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003866/0.2866, allocations: 287.6 kB / 1.091 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.132e-05/0.2866, allocations: 15.92 kB / 1.091 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.899e-05/0.2867, allocations: 27.81 kB / 1.091 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002554/0.2869, allocations: 150.5 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.287, allocations: 4 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.573e-06/0.287, allocations: 0 / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.111e-06/0.287, allocations: 0 / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005677/0.2876, allocations: 404 kB / 1.091 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.2876, allocations: 15.97 kB / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.655e-05/0.2876, allocations: 38.73 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001175/0.2878, allocations: 16.84 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002394/0.288, allocations: 188.2 kB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.288, allocations: 8.125 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.413e-05/0.288, allocations: 4 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001784/0.2882, allocations: 61.66 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.2882, allocations: 3.938 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.2883, allocations: 3.984 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.2883, allocations: 0 / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001516/0.2884, allocations: 43.91 kB / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000423/0.2889, allocations: 304.7 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000147/0.289, allocations: 46.56 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.643e-05/0.2891, allocations: 28.97 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.017e-05/0.2891, allocations: 7.984 kB / 1.092 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.021e-05/0.2892, allocations: 34.56 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.2892, allocations: 0 / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5): time 0.0003547/0.2895, allocations: 109.5 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.106e-05/0.2896, allocations: 51.41 kB / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.2897, allocations: 135.8 kB / 1.092 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/0.2897, allocations: 25.7 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.484e-05/0.2898, allocations: 100.1 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.861e-05/0.2898, allocations: 15.75 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.267e-05/0.2898, allocations: 25.7 kB / 1.092 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.506e-05/0.2899, allocations: 310.8 kB / 1.093 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.709e-05/0.29, allocations: 23.98 kB / 1.093 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.997e-05/0.2901, allocations: 23.97 kB / 1.093 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001524/0.2903, allocations: 56.78 kB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.2903, allocations: 0 / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002195/0.2905, allocations: 89.56 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.2905, allocations: 11.94 kB / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.2905, allocations: 0 / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.2905, allocations: 0 / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/0.2907, allocations: 20.42 kB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.2907, allocations: 0 / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.426e-05/0.2907, allocations: 15.92 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-06/0.2908, allocations: 4 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * 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 8.42e-05/0.2909, allocations: 117.8 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.533e-05/0.2909, allocations: 7.906 kB / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002663/0.2912, allocations: 93.95 kB / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.706e-06/0.2912, allocations: 0 / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.2912, allocations: 0 / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.2912, allocations: 11.94 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001836/0.2914, allocations: 185.6 kB / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2914, allocations: 0 / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.407e-05/0.2915, allocations: 15.98 kB / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.2915, allocations: 0 / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.2915, allocations: 4 kB / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.2915, allocations: 0 / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2915, allocations: 0 / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002598/0.2918, allocations: 199.3 kB / 1.093 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.753e-05/0.2919, allocations: 84.95 kB / 1.094 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.593e-05/0.2919, allocations: 0 / 1.094 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.26e-05/0.292, allocations: 7.984 kB / 1.094 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.753e-05/0.292, allocations: 7.938 kB / 1.094 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.04e-06/0.292, allocations: 0 / 1.094 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.173e-05/0.2921, allocations: 105.3 kB / 1.094 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2921, allocations: 0 / 1.094 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002426/0.2923, allocations: 31.91 kB / 1.094 GB, free: 11.31 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * 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.0006144/0.293, allocations: 0.7281 MB / 1.094 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002223/0.2932, allocations: 60.14 kB / 1.094 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.2932, allocations: 4 kB / 1.094 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.497e-05/0.2933, allocations: 28.05 kB / 1.095 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002873/0.2936, allocations: 20.06 kB / 1.095 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001529/0.2951, allocations: 1.443 MB / 1.096 GB, free: 8.93 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002298/0.2954, allocations: 0.6963 MB / 1.097 GB, free: 8.207 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.874e-05/0.2954, allocations: 15.72 kB / 1.097 GB, free: 8.191 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.227e-05/0.2955, allocations: 23.42 kB / 1.097 GB, free: 8.168 MB / 0.8575 GB Notification: Performance of SimCode: time 2.6e-07/0.2955, allocations: 3.938 kB / 1.097 GB, free: 8.164 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01781/0.3133, allocations: 2.332 MB / 1.099 GB, free: 5.949 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.252/7.566, allocations: 5.875 kB / 1.099 GB, free: 5.945 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches