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.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",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.001615/0.001615, 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.00196/0.00196, allocations: 194.2 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.455/1.455, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.774/2.774, allocations: 469.4 MB / 0.742 GB, free: 7.703 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 68.89 kB / 0.9083 GB, free: 34.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3043/0.3056, allocations: 159.1 MB / 1.064 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1687/0.4743, allocations: 161.4 MB / 1.221 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.007661/0.482, allocations: 4.558 MB / 1.226 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004378/0.4825, allocations: 7.938 kB / 1.226 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005382/0.4831, allocations: 123.1 kB / 1.226 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001183/0.4844, allocations: 330.4 kB / 1.226 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001039/0.4854, allocations: 273.5 kB / 1.226 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0008574/0.4863, allocations: 0.5574 MB / 1.227 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004563/0.4868, allocations: 209.1 kB / 1.227 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001276/0.488, allocations: 458.3 kB / 1.228 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004111/0.4885, allocations: 187.3 kB / 1.228 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.471e-05/0.4885, allocations: 20 kB / 1.228 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002846/0.4888, allocations: 75.94 kB / 1.228 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001497/0.489, allocations: 95.72 kB / 1.228 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001987/0.4892, allocations: 119.4 kB / 1.228 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004767/0.4897, allocations: 287.1 kB / 1.228 GB, free: 5.242 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.4897, allocations: 3.938 kB / 1.228 GB, free: 5.238 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.084e-06/0.4897, allocations: 0 / 1.228 GB, free: 5.238 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.668e-05/0.4897, allocations: 4 kB / 1.228 GB, free: 5.234 MB / 0.9825 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.0009951/0.4907, allocations: 0.5294 MB / 1.229 GB, free: 4.656 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.4908, allocations: 12.03 kB / 1.229 GB, free: 4.645 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.546e-05/0.4909, allocations: 50.55 kB / 1.229 GB, free: 4.586 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.565e-05/0.491, allocations: 31.66 kB / 1.229 GB, free: 4.555 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004075/0.4914, allocations: 275.4 kB / 1.229 GB, free: 4.246 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.11e-05/0.4914, allocations: 12 kB / 1.229 GB, free: 4.234 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.003e-05/0.4914, allocations: 16 kB / 1.229 GB, free: 4.219 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004423/0.4919, allocations: 269.6 kB / 1.229 GB, free: 3.918 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.4919, allocations: 7.875 kB / 1.23 GB, free: 3.91 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.952e-05/0.4919, allocations: 8 kB / 1.23 GB, free: 3.902 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.658e-05/0.492, allocations: 8 kB / 1.23 GB, free: 3.895 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003381/0.4923, allocations: 151.7 kB / 1.23 GB, free: 3.746 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001445/0.4938, allocations: 1.367 MB / 1.231 GB, free: 2.289 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003102/0.4941, allocations: 179.7 kB / 1.231 GB, free: 2.059 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001763/0.4943, allocations: 97.05 kB / 1.231 GB, free: 1.945 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003767/0.4947, allocations: 121 kB / 1.231 GB, free: 1.809 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.4947, allocations: 42.41 kB / 1.231 GB, free: 1.758 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.433e-06/0.4947, allocations: 4 kB / 1.231 GB, free: 1.754 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.00064/0.4954, allocations: 209.3 kB / 1.232 GB, free: 1.543 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.583e-05/0.4955, allocations: 180.5 kB / 1.232 GB, free: 1.324 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002938/0.4958, allocations: 295 kB / 1.232 GB, free: 1.031 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.4958, allocations: 25.7 kB / 1.232 GB, free: 1 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.4959, allocations: 143.9 kB / 1.232 GB, free: 0.8555 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.884e-05/0.496, allocations: 51.45 kB / 1.232 GB, free: 0.8047 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.238e-05/0.496, allocations: 33.7 kB / 1.232 GB, free: 0.7656 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.4962, allocations: 338.8 kB / 1.233 GB, free: 436 kB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001322/0.4963, allocations: 39.97 kB / 1.233 GB, free: 396 kB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001802/0.4965, allocations: 117.2 kB / 1.233 GB, free: 252 kB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000304/0.4968, allocations: 158.7 kB / 1.233 GB, free: 68 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.664e-06/0.4968, allocations: 0 / 1.233 GB, free: 68 kB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004157/0.4972, allocations: 193.1 kB / 1.233 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.4973, allocations: 8 kB / 1.233 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.4973, allocations: 3.938 kB / 1.233 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.4973, allocations: 4 kB / 1.233 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001413/0.4974, allocations: 27.98 kB / 1.233 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.4975, allocations: 0 / 1.233 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001745/0.4976, allocations: 35.89 kB / 1.233 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.587e-05/0.4977, allocations: 15.94 kB / 1.233 GB, free: 15.78 MB / 0.9981 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.000137/0.4978, allocations: 149.7 kB / 1.233 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001295/0.498, allocations: 27.66 kB / 1.233 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000332/0.4983, allocations: 127 kB / 1.234 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.4983, allocations: 0 / 1.234 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.635e-06/0.4983, allocations: 4 kB / 1.234 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.4983, allocations: 7.938 kB / 1.234 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007874/0.4991, allocations: 0.7693 MB / 1.234 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.4991, allocations: 4 kB / 1.234 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001273/0.4993, allocations: 24.14 kB / 1.234 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.4993, allocations: 11.88 kB / 1.234 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.4993, allocations: 4 kB / 1.234 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.4993, allocations: 0 / 1.234 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.4993, allocations: 4 kB / 1.234 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005203/0.4998, allocations: 343.3 kB / 1.235 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.631e-05/0.5, allocations: 108.8 kB / 1.235 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.743e-05/0.5, allocations: 7.984 kB / 1.235 GB, free: 14.06 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001313/0.5001, allocations: 8 kB / 1.235 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.314e-05/0.5002, allocations: 15.98 kB / 1.235 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-06/0.5002, allocations: 4 kB / 1.235 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001893/0.5004, allocations: 213.9 kB / 1.235 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5004, allocations: 0 / 1.235 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003604/0.5008, allocations: 48 kB / 1.235 GB, free: 13.78 MB / 0.9981 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.0009994/0.5018, allocations: 0.9183 MB / 1.236 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003575/0.5022, allocations: 123.8 kB / 1.236 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.5022, allocations: 0 / 1.236 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001551/0.5023, allocations: 60.59 kB / 1.236 GB, free: 12.65 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000773/0.5031, allocations: 143.5 kB / 1.236 GB, free: 12.51 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003724/0.5068, allocations: 2.608 MB / 1.239 GB, free: 9.75 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003533/0.5072, allocations: 0.7634 MB / 1.24 GB, free: 8.961 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001813/0.5074, allocations: 50.2 kB / 1.24 GB, free: 8.91 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001078/0.5075, allocations: 75.41 kB / 1.24 GB, free: 8.836 MB / 0.9981 GB Notification: Performance of SimCode: time 2.61e-07/0.5075, allocations: 0 / 1.24 GB, free: 8.836 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02837/0.5359, allocations: 6.789 MB / 1.246 GB, free: 2.195 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.637/8.173, allocations: 8.5 kB / 1.246 GB, free: 2.188 MB / 0.9981 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 Buildings_latest_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.csv","/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) Reference file matches