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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001383/0.001383, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00105/0.00105, allocations: 193 kB / 16.13 MB, free: 6.652 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.268/1.268, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.613/2.613, allocations: 461.8 MB / 0.7342 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002085/0.002085, allocations: 70.58 kB / 0.8985 GB, free: 36.97 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3537/0.3558, allocations: 157.4 MB / 1.052 GB, free: 8.215 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1711/0.5269, allocations: 159.1 MB / 1.208 GB, free: 8.484 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.005076/0.532, allocations: 4.55 MB / 1.212 GB, free: 3.922 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003155/0.5324, allocations: 7.938 kB / 1.212 GB, free: 3.914 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0003945/0.5328, allocations: 91.36 kB / 1.212 GB, free: 3.824 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0007706/0.5336, allocations: 314.7 kB / 1.212 GB, free: 3.516 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006614/0.5343, allocations: 248.9 kB / 1.213 GB, free: 3.277 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000754/0.535, allocations: 0.7953 MB / 1.213 GB, free: 2.48 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003079/0.5353, allocations: 173.5 kB / 1.214 GB, free: 2.312 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008505/0.5362, allocations: 410.4 kB / 1.214 GB, free: 1.91 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002974/0.5365, allocations: 215.2 kB / 1.214 GB, free: 1.699 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.499e-05/0.5365, allocations: 12 kB / 1.214 GB, free: 1.688 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001774/0.5367, allocations: 67.94 kB / 1.214 GB, free: 1.621 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001014/0.5368, allocations: 83.72 kB / 1.214 GB, free: 1.539 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001231/0.537, allocations: 115.4 kB / 1.214 GB, free: 1.426 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003309/0.5373, allocations: 283.1 kB / 1.215 GB, free: 1.148 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.5373, allocations: 3.938 kB / 1.215 GB, free: 1.145 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.073e-06/0.5373, allocations: 0 / 1.215 GB, free: 1.145 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.142e-06/0.5373, allocations: 0 / 1.215 GB, free: 1.145 MB / 0.9669 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.0007977/0.5381, allocations: 0.5295 MB / 1.215 GB, free: 0.5664 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.5382, allocations: 11.97 kB / 1.215 GB, free: 0.5547 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.536e-05/0.5383, allocations: 54.55 kB / 1.215 GB, free: 0.4922 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.829e-05/0.5383, allocations: 27.66 kB / 1.215 GB, free: 476 kB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003383/0.5387, allocations: 271.4 kB / 1.216 GB, free: 164 kB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.5387, allocations: 12 kB / 1.216 GB, free: 152 kB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.598e-05/0.5387, allocations: 20 kB / 1.216 GB, free: 132 kB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004261/0.5392, allocations: 269.6 kB / 1.216 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.5392, allocations: 7.938 kB / 1.216 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.907e-05/0.5392, allocations: 11.94 kB / 1.216 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.5392, allocations: 4 kB / 1.216 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003439/0.5396, allocations: 151.8 kB / 1.216 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001258/0.5408, allocations: 1.371 MB / 1.217 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002788/0.5411, allocations: 179.7 kB / 1.218 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001658/0.5413, allocations: 93.05 kB / 1.218 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003521/0.5417, allocations: 121 kB / 1.218 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.794e-05/0.5417, allocations: 50.42 kB / 1.218 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.533e-06/0.5417, allocations: 0 / 1.218 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0006057/0.5423, allocations: 201.2 kB / 1.218 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.52e-05/0.5424, allocations: 191.8 kB / 1.218 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002731/0.5427, allocations: 287.5 kB / 1.218 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.5428, allocations: 29.7 kB / 1.219 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.5429, allocations: 159.8 kB / 1.219 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.889e-05/0.5429, allocations: 31.47 kB / 1.219 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.844e-05/0.543, allocations: 33.7 kB / 1.219 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.5431, allocations: 338.8 kB / 1.219 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000132/0.5433, allocations: 39.97 kB / 1.219 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002096/0.5435, allocations: 117.2 kB / 1.219 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003094/0.5438, allocations: 158.7 kB / 1.219 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.5438, allocations: 0 / 1.219 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004127/0.5442, allocations: 197.2 kB / 1.22 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.5442, allocations: 8 kB / 1.22 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.5443, allocations: 0 / 1.22 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.5443, allocations: 4 kB / 1.22 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001488/0.5444, allocations: 27.98 kB / 1.22 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/0.5445, allocations: 3.938 kB / 1.22 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001997/0.5447, allocations: 31.77 kB / 1.22 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.612e-05/0.5447, allocations: 11.98 kB / 1.22 GB, free: 11.69 MB / 0.9825 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.0001959/0.5449, allocations: 145.9 kB / 1.22 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001355/0.5451, allocations: 35.56 kB / 1.22 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003576/0.5454, allocations: 131.3 kB / 1.22 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.5454, allocations: 4 kB / 1.22 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.5455, allocations: 0 / 1.22 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/0.5455, allocations: 7.984 kB / 1.22 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000917/0.5464, allocations: 0.7691 MB / 1.221 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.5464, allocations: 7.938 kB / 1.221 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000132/0.5465, allocations: 23.92 kB / 1.221 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.02e-06/0.5466, allocations: 4 kB / 1.221 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.5466, allocations: 4.156 kB / 1.221 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.67e-06/0.5466, allocations: 7.984 kB / 1.221 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.5466, allocations: 0 / 1.221 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000572/0.5472, allocations: 339.4 kB / 1.221 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.701e-05/0.5473, allocations: 108.8 kB / 1.221 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.844e-05/0.5473, allocations: 8 kB / 1.221 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001429/0.5475, allocations: 7.984 kB / 1.221 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.081e-05/0.5475, allocations: 15.88 kB / 1.221 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-06/0.5475, allocations: 12.06 kB / 1.221 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002199/0.5478, allocations: 210 kB / 1.221 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5478, allocations: 3.938 kB / 1.221 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003435/0.5481, allocations: 52 kB / 1.221 GB, free: 9.672 MB / 0.9825 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.00111/0.5492, allocations: 0.9026 MB / 1.222 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003666/0.5496, allocations: 123.9 kB / 1.222 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.5496, allocations: 0 / 1.222 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001494/0.5498, allocations: 64.03 kB / 1.223 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007623/0.5506, allocations: 137.5 kB / 1.223 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003342/0.5539, allocations: 2.649 MB / 1.225 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003895/0.5543, allocations: 0.7597 MB / 1.226 GB, free: 4.828 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001669/0.5545, allocations: 54.19 kB / 1.226 GB, free: 4.773 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.401e-05/0.5546, allocations: 71.41 kB / 1.226 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of SimCode: time 4.3e-07/0.5546, allocations: 0 / 1.226 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3033/0.8579, allocations: 6.479 MB / 1.232 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002174/0.8581, allocations: 244.3 kB / 1.233 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.99/2.848, allocations: 8.812 kB / 1.233 GB, free: 14.13 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 & /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 --timeout=50 --tolerance=1e-06 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.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) Reference file matches