Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001424/0.001424, allocations: 113.5 kB / 19.73 MB, free: 2.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001543/0.001543, allocations: 216.8 kB / 23.04 MB, free: 5.078 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.301/1.301, allocations: 230.6 MB / 256.8 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.842/2.842, allocations: 0.5003 GB / 0.8061 GB, free: 26.74 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001813/0.001813, allocations: 67.66 kB / 1.171 GB, free: 19.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2787/0.2805, allocations: 179 MB / 1.345 GB, free: 436 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002699/0.2832, allocations: 1.647 MB / 1.347 GB, free: 14.77 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001518/0.2847, allocations: 1.009 MB / 1.348 GB, free: 13.75 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.597e-05/0.2848, allocations: 4 kB / 1.348 GB, free: 13.75 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.107e-05/0.2848, allocations: 7.875 kB / 1.348 GB, free: 13.74 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001821/0.285, allocations: 23.78 kB / 1.348 GB, free: 13.72 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000373/0.2854, allocations: 167.8 kB / 1.348 GB, free: 13.55 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001458/0.2855, allocations: 75.66 kB / 1.348 GB, free: 13.48 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 7.861e-05/0.2856, allocations: 15.92 kB / 1.348 GB, free: 13.46 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001207/0.2857, allocations: 43.78 kB / 1.348 GB, free: 13.42 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 8.597e-05/0.2858, allocations: 35.84 kB / 1.348 GB, free: 13.39 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.554e-05/0.2858, allocations: 8 kB / 1.348 GB, free: 13.38 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003878/0.2862, allocations: 287.7 kB / 1.349 GB, free: 13.1 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.813e-05/0.2863, allocations: 15.91 kB / 1.349 GB, free: 13.08 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.899e-05/0.2863, allocations: 31.8 kB / 1.349 GB, free: 13.05 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002297/0.2865, allocations: 155.5 kB / 1.349 GB, free: 12.9 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.2865, allocations: 4 kB / 1.349 GB, free: 12.89 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.102e-06/0.2865, allocations: 0 / 1.349 GB, free: 12.89 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.2865, allocations: 0 / 1.349 GB, free: 12.89 MB / 1.045 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.0005028/0.287, allocations: 337.7 kB / 1.349 GB, free: 12.54 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.2871, allocations: 12.03 kB / 1.349 GB, free: 12.52 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.004e-05/0.2871, allocations: 4.188 kB / 1.349 GB, free: 12.52 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.895e-05/0.2871, allocations: 30.75 kB / 1.349 GB, free: 12.48 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000252/0.2874, allocations: 36.86 kB / 1.349 GB, free: 12.45 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002256/0.2876, allocations: 143.5 kB / 1.349 GB, free: 12.28 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.2876, allocations: 11.88 kB / 1.349 GB, free: 12.27 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.342e-05/0.2876, allocations: 7.984 kB / 1.349 GB, free: 12.26 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001626/0.2878, allocations: 57.67 kB / 1.349 GB, free: 12.2 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.2878, allocations: 4 kB / 1.349 GB, free: 12.2 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.356e-06/0.2878, allocations: 0 / 1.349 GB, free: 12.2 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.2878, allocations: 4 kB / 1.349 GB, free: 12.19 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001442/0.2879, allocations: 43.95 kB / 1.349 GB, free: 12.15 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003982/0.2883, allocations: 267.8 kB / 1.35 GB, free: 11.84 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001327/0.2885, allocations: 54.55 kB / 1.35 GB, free: 11.78 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.584e-05/0.2886, allocations: 24.97 kB / 1.35 GB, free: 11.75 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.53e-05/0.2886, allocations: 4.062 kB / 1.35 GB, free: 11.75 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.34e-05/0.2886, allocations: 34.56 kB / 1.35 GB, free: 11.71 MB / 1.045 GB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.2886, allocations: 0 / 1.35 GB, free: 11.71 MB / 1.045 GB Notification: Performance of matching and sorting (n=5): time 0.0003365/0.2889, allocations: 109.5 kB / 1.35 GB, free: 11.59 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.886e-05/0.289, allocations: 59.39 kB / 1.35 GB, free: 11.52 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.2891, allocations: 144.1 kB / 1.35 GB, free: 11.37 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.2891, allocations: 25.7 kB / 1.35 GB, free: 11.34 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.504e-05/0.2892, allocations: 92.14 kB / 1.35 GB, free: 11.25 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.793e-05/0.2892, allocations: 19.77 kB / 1.35 GB, free: 11.23 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.276e-05/0.2892, allocations: 21.72 kB / 1.35 GB, free: 11.2 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.2894, allocations: 318.8 kB / 1.351 GB, free: 10.88 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.81e-05/0.2894, allocations: 27.98 kB / 1.351 GB, free: 10.85 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.709e-05/0.2895, allocations: 23.98 kB / 1.351 GB, free: 10.83 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001413/0.2896, allocations: 48.83 kB / 1.351 GB, free: 10.78 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.2896, allocations: 0 / 1.351 GB, free: 10.78 MB / 1.045 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002138/0.2899, allocations: 93.92 kB / 1.351 GB, free: 10.68 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.2899, allocations: 8 kB / 1.351 GB, free: 10.67 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.426e-06/0.2899, allocations: 64 / 1.351 GB, free: 10.67 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.2899, allocations: 8 kB / 1.351 GB, free: 10.66 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.29, allocations: 15.98 kB / 1.351 GB, free: 10.65 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.29, allocations: 0 / 1.351 GB, free: 10.65 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.954e-05/0.2901, allocations: 15.89 kB / 1.351 GB, free: 10.63 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.2901, allocations: 0 / 1.351 GB, free: 10.63 MB / 1.045 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 7.868e-05/0.2901, allocations: 114.5 kB / 1.351 GB, free: 10.51 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.202e-05/0.2902, allocations: 11.94 kB / 1.351 GB, free: 10.5 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002395/0.2904, allocations: 98 kB / 1.351 GB, free: 10.39 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.2904, allocations: 7.938 kB / 1.351 GB, free: 10.39 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.2904, allocations: 0 / 1.351 GB, free: 10.39 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.2904, allocations: 7.922 kB / 1.351 GB, free: 10.38 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000177/0.2906, allocations: 148.7 kB / 1.351 GB, free: 10.19 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.2906, allocations: 4 kB / 1.351 GB, free: 10.19 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.972e-05/0.2907, allocations: 15.98 kB / 1.351 GB, free: 10.17 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.2907, allocations: 0 / 1.351 GB, free: 10.17 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.427e-06/0.2907, allocations: 4 kB / 1.351 GB, free: 10.17 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.2907, allocations: 0 / 1.351 GB, free: 10.17 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.2907, allocations: 4 kB / 1.351 GB, free: 10.16 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002692/0.291, allocations: 191.3 kB / 1.351 GB, free: 9.961 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.267e-05/0.291, allocations: 7.953 kB / 1.351 GB, free: 9.953 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.587e-05/0.291, allocations: 0 / 1.351 GB, free: 9.953 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.02e-05/0.2911, allocations: 4 kB / 1.351 GB, free: 9.949 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.654e-05/0.2911, allocations: 7.922 kB / 1.351 GB, free: 9.941 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/0.2911, allocations: 12 kB / 1.351 GB, free: 9.93 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.197e-05/0.2912, allocations: 101 kB / 1.352 GB, free: 9.832 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.2912, allocations: 0 / 1.352 GB, free: 9.832 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002317/0.2914, allocations: 27.94 kB / 1.352 GB, free: 9.805 MB / 1.045 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.0005845/0.292, allocations: 0.7282 MB / 1.352 GB, free: 9.051 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001991/0.2922, allocations: 59.89 kB / 1.352 GB, free: 8.992 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.2922, allocations: 0 / 1.352 GB, free: 8.992 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 8.076e-05/0.2923, allocations: 27.92 kB / 1.352 GB, free: 8.965 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002563/0.2925, allocations: 15.88 kB / 1.352 GB, free: 8.949 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001564/0.2941, allocations: 1.486 MB / 1.354 GB, free: 7.387 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002808/0.2944, allocations: 0.6907 MB / 1.354 GB, free: 6.672 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 4.423e-05/0.2944, allocations: 15.97 kB / 1.354 GB, free: 6.656 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.181e-05/0.2945, allocations: 23.44 kB / 1.355 GB, free: 6.633 MB / 1.045 GB Notification: Performance of SimCode: time 2.6e-07/0.2945, allocations: 0 / 1.355 GB, free: 6.633 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02168/0.3162, allocations: 2.524 MB / 1.357 GB, free: 4.266 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.902/10.22, allocations: 15.86 kB / 1.357 GB, free: 4.25 MB / 1.045 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --stepSize=0.006 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.10385390499141]