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.001127/0.001127, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.00963/0.00963, allocations: 171.4 kB / 16.26 MB, free: 6.613 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.366/1.366, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.676/2.676, allocations: 462.6 MB / 0.7364 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003584/0.0003584, allocations: 13.84 kB / 0.9029 GB, free: 36.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3515/0.3519, allocations: 159.6 MB / 1.059 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.19/0.5419, allocations: 157.1 MB / 1.212 GB, free: 7.23 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.005994/0.548, allocations: 4.486 MB / 1.217 GB, free: 2.73 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004135/0.5484, allocations: 11.94 kB / 1.217 GB, free: 2.719 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0004887/0.5489, allocations: 95.34 kB / 1.217 GB, free: 2.625 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001055/0.55, allocations: 306.7 kB / 1.217 GB, free: 2.324 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008353/0.5509, allocations: 254.7 kB / 1.217 GB, free: 2.078 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0009827/0.5519, allocations: 0.7874 MB / 1.218 GB, free: 1.289 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003956/0.5523, allocations: 173.5 kB / 1.218 GB, free: 1.121 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001085/0.5534, allocations: 426.4 kB / 1.219 GB, free: 0.7031 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003981/0.5538, allocations: 195.2 kB / 1.219 GB, free: 0.5117 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.683e-05/0.5538, allocations: 8 kB / 1.219 GB, free: 0.5039 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002201/0.5541, allocations: 67.94 kB / 1.219 GB, free: 448 kB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001249/0.5542, allocations: 75.72 kB / 1.219 GB, free: 372 kB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001801/0.5544, allocations: 137.1 kB / 1.219 GB, free: 228 kB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004005/0.5548, allocations: 283 kB / 1.219 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.5548, allocations: 4 kB / 1.219 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.024e-06/0.5548, allocations: 0 / 1.219 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.22e-05/0.5548, allocations: 0 / 1.219 GB, free: 15.94 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.0008645/0.5557, allocations: 0.4906 MB / 1.22 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.5558, allocations: 11.97 kB / 1.22 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.42e-05/0.5558, allocations: 54.55 kB / 1.22 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.687e-05/0.5559, allocations: 31.56 kB / 1.22 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004052/0.5563, allocations: 275.4 kB / 1.22 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.158e-05/0.5564, allocations: 12 kB / 1.22 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.07e-05/0.5564, allocations: 27.84 kB / 1.22 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004875/0.5569, allocations: 273.6 kB / 1.22 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.5569, allocations: 3.938 kB / 1.22 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.141e-05/0.557, allocations: 4 kB / 1.22 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.347e-06/0.557, allocations: 11.94 kB / 1.22 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003706/0.5573, allocations: 155.8 kB / 1.221 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001459/0.5588, allocations: 1.383 MB / 1.222 GB, free: 13 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003118/0.5591, allocations: 187.7 kB / 1.222 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001877/0.5593, allocations: 101.1 kB / 1.222 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003809/0.5597, allocations: 133 kB / 1.222 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.097e-05/0.5598, allocations: 42.44 kB / 1.222 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.733e-06/0.5598, allocations: 0 / 1.222 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0006602/0.5604, allocations: 221.8 kB / 1.223 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001083/0.5606, allocations: 191.9 kB / 1.223 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003104/0.5609, allocations: 287 kB / 1.223 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.499e-05/0.5609, allocations: 29.7 kB / 1.223 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001209/0.561, allocations: 147.9 kB / 1.223 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.407e-05/0.5611, allocations: 35.45 kB / 1.223 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.368e-05/0.5611, allocations: 17.72 kB / 1.223 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.5613, allocations: 330.8 kB / 1.224 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001491/0.5614, allocations: 59.95 kB / 1.224 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001936/0.5616, allocations: 114.5 kB / 1.224 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003085/0.5619, allocations: 170.9 kB / 1.224 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.614e-06/0.562, allocations: 7.984 kB / 1.224 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004105/0.5624, allocations: 201.1 kB / 1.224 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.5624, allocations: 8 kB / 1.224 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.5624, allocations: 0 / 1.224 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.5624, allocations: 4 kB / 1.224 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001541/0.5626, allocations: 43.91 kB / 1.224 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.086e-06/0.5626, allocations: 224 / 1.224 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001925/0.5628, allocations: 39.67 kB / 1.224 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.484e-05/0.5628, allocations: 8 kB / 1.224 GB, free: 10.43 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.0001458/0.563, allocations: 141.8 kB / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001291/0.5631, allocations: 27.66 kB / 1.224 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000361/0.5635, allocations: 146.9 kB / 1.224 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.5635, allocations: 4 kB / 1.224 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.5635, allocations: 0 / 1.224 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.5635, allocations: 0 / 1.224 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008403/0.5644, allocations: 0.773 MB / 1.225 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.441e-05/0.5644, allocations: 3.984 kB / 1.225 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001441/0.5645, allocations: 27.92 kB / 1.225 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.5646, allocations: 4 kB / 1.225 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/0.5646, allocations: 4 kB / 1.225 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.5646, allocations: 0 / 1.225 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.5646, allocations: 8.141 kB / 1.225 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005689/0.5652, allocations: 367.2 kB / 1.226 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/0.5653, allocations: 108.8 kB / 1.226 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.933e-05/0.5653, allocations: 8.125 kB / 1.226 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001476/0.5655, allocations: 20.05 kB / 1.226 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.694e-05/0.5655, allocations: 11.92 kB / 1.226 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-06/0.5656, allocations: 4 kB / 1.226 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002064/0.5658, allocations: 209.9 kB / 1.226 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5658, allocations: 0 / 1.226 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003489/0.5661, allocations: 56 kB / 1.226 GB, free: 8.387 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.001091/0.5672, allocations: 0.9181 MB / 1.227 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00036/0.5676, allocations: 131.9 kB / 1.227 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.5676, allocations: 0 / 1.227 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001559/0.5678, allocations: 68.64 kB / 1.227 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008626/0.5687, allocations: 129.8 kB / 1.227 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00339/0.5721, allocations: 2.721 MB / 1.23 GB, free: 4.234 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000352/0.5724, allocations: 0.7557 MB / 1.231 GB, free: 3.453 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001951/0.5726, allocations: 50.25 kB / 1.231 GB, free: 3.398 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001109/0.5727, allocations: 71.41 kB / 1.231 GB, free: 3.328 MB / 0.9825 GB Notification: Performance of SimCode: time 4.51e-07/0.5727, allocations: 0 / 1.231 GB, free: 3.328 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01949/0.5922, allocations: 6.367 MB / 1.237 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002249/0.5925, allocations: 245.9 kB / 1.237 GB, free: 12.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.848/2.441, allocations: 1.25 kB / 1.237 GB, free: 12.9 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