Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.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.001449/0.001449, 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.00159/0.00159, allocations: 219.5 kB / 23.04 MB, free: 5.074 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.324/1.324, allocations: 230.6 MB / 256.8 MB, free: 8 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.876/2.876, allocations: 0.5003 GB / 0.8061 GB, free: 26.79 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.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",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.001807/0.001807, allocations: 75.06 kB / 1.171 GB, free: 19.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2979/0.2997, allocations: 179 MB / 1.345 GB, free: 444 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1891/0.4888, allocations: 164.9 MB / 1.506 GB, free: 10.88 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.005573/0.4944, allocations: 4.621 MB / 1.511 GB, free: 6.25 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002858/0.4947, allocations: 11.88 kB / 1.511 GB, free: 6.238 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0003958/0.4951, allocations: 131 kB / 1.511 GB, free: 6.109 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.0007835/0.4959, allocations: 346.4 kB / 1.511 GB, free: 5.77 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007333/0.4966, allocations: 304.1 kB / 1.512 GB, free: 5.477 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.0006875/0.4973, allocations: 0.569 MB / 1.512 GB, free: 4.906 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002939/0.4976, allocations: 162.8 kB / 1.512 GB, free: 4.746 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00137/0.4989, allocations: 0.6851 MB / 1.513 GB, free: 4.059 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003019/0.4992, allocations: 203.2 kB / 1.513 GB, free: 3.859 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 3.069e-05/0.4993, allocations: 16 kB / 1.513 GB, free: 3.844 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001692/0.4994, allocations: 83.94 kB / 1.513 GB, free: 3.762 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.000105/0.4995, allocations: 91.72 kB / 1.513 GB, free: 3.672 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0001285/0.4997, allocations: 123.4 kB / 1.514 GB, free: 3.551 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.0003776/0.5, allocations: 294.8 kB / 1.514 GB, free: 3.262 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.5001, allocations: 0 / 1.514 GB, free: 3.262 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.293e-06/0.5001, allocations: 0 / 1.514 GB, free: 3.262 MB / 1.201 GB Notification: Performance of Transformations before backend: time 5.72e-06/0.5001, allocations: 0 / 1.514 GB, free: 3.262 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0007846/0.5008, allocations: 472.8 kB / 1.514 GB, free: 2.77 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.5009, allocations: 16.03 kB / 1.514 GB, free: 2.754 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.484e-05/0.5009, allocations: 7.938 kB / 1.514 GB, free: 2.746 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.645e-05/0.501, allocations: 54.42 kB / 1.514 GB, free: 2.684 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.262e-05/0.501, allocations: 35.81 kB / 1.514 GB, free: 2.648 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003884/0.5014, allocations: 229.7 kB / 1.515 GB, free: 2.398 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/0.5014, allocations: 16 kB / 1.515 GB, free: 2.383 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.49e-05/0.5015, allocations: 16 kB / 1.515 GB, free: 2.367 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004375/0.5019, allocations: 265.8 kB / 1.515 GB, free: 2.07 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.5019, allocations: 0 / 1.515 GB, free: 2.07 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.782e-05/0.5019, allocations: 8 kB / 1.515 GB, free: 2.062 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.5019, allocations: 4 kB / 1.515 GB, free: 2.059 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003509/0.5023, allocations: 151.7 kB / 1.515 GB, free: 1.91 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001416/0.5037, allocations: 1.332 MB / 1.516 GB, free: 0.4961 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003116/0.504, allocations: 175.7 kB / 1.517 GB, free: 276 kB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001684/0.5042, allocations: 89.11 kB / 1.517 GB, free: 168 kB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000317/0.5045, allocations: 51.81 kB / 1.517 GB, free: 116 kB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/0.5045, allocations: 42.56 kB / 1.517 GB, free: 64 kB / 1.201 GB Notification: Performance of pre-optimization done (n=10): time 1.202e-06/0.5045, allocations: 0 / 1.517 GB, free: 64 kB / 1.201 GB Notification: Performance of matching and sorting (n=10): time 0.0006302/0.5052, allocations: 205.3 kB / 1.517 GB, free: 15.86 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001093/0.5053, allocations: 187.9 kB / 1.517 GB, free: 15.63 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002918/0.5056, allocations: 284.2 kB / 1.517 GB, free: 15.34 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 2.647e-05/0.5056, allocations: 34.33 kB / 1.517 GB, free: 15.3 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.5057, allocations: 151.9 kB / 1.518 GB, free: 15.15 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 3.536e-05/0.5058, allocations: 39.75 kB / 1.518 GB, free: 15.11 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.456e-05/0.5058, allocations: 37.7 kB / 1.518 GB, free: 15.07 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.506, allocations: 334.8 kB / 1.518 GB, free: 14.73 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000125/0.5061, allocations: 47.91 kB / 1.518 GB, free: 14.69 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001936/0.5063, allocations: 115.6 kB / 1.518 GB, free: 14.55 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000295/0.5066, allocations: 162.7 kB / 1.518 GB, free: 14.36 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.5066, allocations: 0 / 1.518 GB, free: 14.36 MB / 1.217 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003773/0.507, allocations: 185.4 kB / 1.518 GB, free: 14.18 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.507, allocations: 11.98 kB / 1.518 GB, free: 14.16 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.507, allocations: 0 / 1.518 GB, free: 14.16 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.507, allocations: 4 kB / 1.518 GB, free: 14.16 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001376/0.5071, allocations: 35.92 kB / 1.518 GB, free: 14.12 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.5071, allocations: 7.938 kB / 1.518 GB, free: 14.12 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001523/0.5073, allocations: 28.08 kB / 1.518 GB, free: 14.09 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.424e-05/0.5073, allocations: 8 kB / 1.518 GB, free: 14.08 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (15): * Single equations (assignments): 15 * 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 0.0001484/0.5075, allocations: 149.9 kB / 1.519 GB, free: 13.93 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000123/0.5076, allocations: 31.78 kB / 1.519 GB, free: 13.89 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003315/0.5079, allocations: 131.1 kB / 1.519 GB, free: 13.75 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.5079, allocations: 4 kB / 1.519 GB, free: 13.75 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.5079, allocations: 0 / 1.519 GB, free: 13.75 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.5079, allocations: 4 kB / 1.519 GB, free: 13.75 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008799/0.5088, allocations: 0.7525 MB / 1.52 GB, free: 12.93 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.5088, allocations: 0 / 1.52 GB, free: 12.93 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001184/0.5089, allocations: 23.97 kB / 1.52 GB, free: 12.9 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.5089, allocations: 4 kB / 1.52 GB, free: 12.9 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.509, allocations: 0 / 1.52 GB, free: 12.9 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.509, allocations: 7.938 kB / 1.52 GB, free: 12.89 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.509, allocations: 4.156 kB / 1.52 GB, free: 12.89 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005281/0.5095, allocations: 343.5 kB / 1.52 GB, free: 12.52 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 6.864e-05/0.5096, allocations: 31.84 kB / 1.52 GB, free: 12.49 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.166e-05/0.5096, allocations: 0 / 1.52 GB, free: 12.49 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001247/0.5097, allocations: 11.98 kB / 1.52 GB, free: 12.48 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.018e-05/0.5098, allocations: 15.92 kB / 1.52 GB, free: 12.46 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-06/0.5098, allocations: 0 / 1.52 GB, free: 12.46 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0002042/0.51, allocations: 211.1 kB / 1.52 GB, free: 12.25 MB / 1.217 GB Notification: Performance of sort global known variables: time 9e-08/0.51, allocations: 4.062 kB / 1.52 GB, free: 12.25 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0003287/0.5103, allocations: 59.89 kB / 1.52 GB, free: 12.19 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * 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 (10): * Single equations (assignments): 10 * 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.0009101/0.5112, allocations: 0.892 MB / 1.521 GB, free: 11.26 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0003415/0.5115, allocations: 124.1 kB / 1.521 GB, free: 11.14 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.5115, allocations: 4.188 kB / 1.521 GB, free: 11.13 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0001441/0.5117, allocations: 59.89 kB / 1.521 GB, free: 11.07 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007259/0.5124, allocations: 132.9 kB / 1.521 GB, free: 10.95 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003156/0.5156, allocations: 2.61 MB / 1.524 GB, free: 8.191 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003777/0.516, allocations: 0.7519 MB / 1.525 GB, free: 7.414 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.000136/0.5161, allocations: 58.23 kB / 1.525 GB, free: 7.359 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.757e-05/0.5162, allocations: 67.42 kB / 1.525 GB, free: 7.293 MB / 1.217 GB Notification: Performance of SimCode: time 4.61e-07/0.5162, allocations: 0 / 1.525 GB, free: 7.293 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0289/0.5451, allocations: 7.062 MB / 1.532 GB, free: 436 kB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.54/11.09, allocations: 15.59 kB / 1.532 GB, free: 424 kB / 1.217 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.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: 17.093491111008916]