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.00149/0.00149, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.0017/0.0017, allocations: 206.4 kB / 22.24 MB, free: 5.262 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.37/1.37, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] 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 3/3, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 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="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"}) [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.001943/0.001943, allocations: 68.48 kB / 1.186 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.358/0.36, allocations: 181.9 MB / 1.363 GB, free: 14.1 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1729/0.5328, allocations: 142.2 MB / 1.502 GB, free: 15.32 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.005392/0.5382, allocations: 4.19 MB / 1.506 GB, free: 11.12 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003204/0.5385, allocations: 15.88 kB / 1.506 GB, free: 11.11 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0004276/0.5389, allocations: 127.1 kB / 1.507 GB, free: 10.98 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.0008166/0.5398, allocations: 334.5 kB / 1.507 GB, free: 10.66 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007387/0.5405, allocations: 292.5 kB / 1.507 GB, free: 10.38 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.0006332/0.5411, allocations: 0.569 MB / 1.508 GB, free: 9.805 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003084/0.5414, allocations: 157.4 kB / 1.508 GB, free: 9.645 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001356/0.5428, allocations: 0.6617 MB / 1.508 GB, free: 8.98 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002702/0.5431, allocations: 191.2 kB / 1.509 GB, free: 8.793 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 3.384e-05/0.5431, allocations: 16 kB / 1.509 GB, free: 8.777 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001779/0.5433, allocations: 79.92 kB / 1.509 GB, free: 8.699 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0001198/0.5434, allocations: 95.66 kB / 1.509 GB, free: 8.605 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0001091/0.5435, allocations: 103.5 kB / 1.509 GB, free: 8.504 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.0003751/0.5439, allocations: 298.8 kB / 1.509 GB, free: 8.211 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.5439, allocations: 0 / 1.509 GB, free: 8.211 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.573e-06/0.5439, allocations: 0 / 1.509 GB, free: 8.211 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.023e-05/0.5439, allocations: 4 kB / 1.509 GB, free: 8.207 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.0007863/0.5447, allocations: 476.8 kB / 1.51 GB, free: 7.711 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.5447, allocations: 8.031 kB / 1.51 GB, free: 7.703 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.294e-05/0.5448, allocations: 50.55 kB / 1.51 GB, free: 7.645 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.142e-05/0.5448, allocations: 35.69 kB / 1.51 GB, free: 7.609 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004004/0.5452, allocations: 225.5 kB / 1.51 GB, free: 7.363 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.5453, allocations: 16 kB / 1.51 GB, free: 7.348 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.264e-05/0.5453, allocations: 23.94 kB / 1.51 GB, free: 7.324 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004109/0.5457, allocations: 257.9 kB / 1.51 GB, free: 7.035 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.5457, allocations: 7.938 kB / 1.51 GB, free: 7.027 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.781e-05/0.5457, allocations: 15.94 kB / 1.51 GB, free: 7.012 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.5457, allocations: 4 kB / 1.51 GB, free: 7.008 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003171/0.5461, allocations: 143.8 kB / 1.51 GB, free: 6.867 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001323/0.5474, allocations: 1.293 MB / 1.512 GB, free: 5.492 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003/0.5477, allocations: 183.7 kB / 1.512 GB, free: 5.258 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000162/0.5479, allocations: 93.11 kB / 1.512 GB, free: 5.148 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002874/0.5481, allocations: 39.89 kB / 1.512 GB, free: 5.109 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.405e-05/0.5482, allocations: 50.39 kB / 1.512 GB, free: 5.051 MB / 1.201 GB Notification: Performance of pre-optimization done (n=10): time 1.283e-06/0.5482, allocations: 0 / 1.512 GB, free: 5.051 MB / 1.201 GB Notification: Performance of matching and sorting (n=10): time 0.0005709/0.5487, allocations: 205.5 kB / 1.512 GB, free: 4.844 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/0.5488, allocations: 183.9 kB / 1.512 GB, free: 4.621 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003084/0.5492, allocations: 292.8 kB / 1.513 GB, free: 4.332 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 2.351e-05/0.5492, allocations: 29.7 kB / 1.513 GB, free: 4.297 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.5493, allocations: 152 kB / 1.513 GB, free: 4.145 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 3.769e-05/0.5493, allocations: 39.67 kB / 1.513 GB, free: 4.105 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.042e-05/0.5494, allocations: 37.67 kB / 1.513 GB, free: 4.062 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.5495, allocations: 338.8 kB / 1.513 GB, free: 3.723 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001281/0.5497, allocations: 47.89 kB / 1.513 GB, free: 3.676 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002451/0.5499, allocations: 222.5 kB / 1.514 GB, free: 3.406 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002881/0.5502, allocations: 162.7 kB / 1.514 GB, free: 3.223 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.5502, allocations: 0 / 1.514 GB, free: 3.223 MB / 1.201 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003611/0.5506, allocations: 193.4 kB / 1.514 GB, free: 3.027 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.5506, allocations: 4 kB / 1.514 GB, free: 3.023 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.5506, allocations: 4 kB / 1.514 GB, free: 3.02 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.5506, allocations: 3.984 kB / 1.514 GB, free: 3.016 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000134/0.5507, allocations: 31.92 kB / 1.514 GB, free: 2.984 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.347e-06/0.5507, allocations: 4 kB / 1.514 GB, free: 2.98 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001463/0.5509, allocations: 27.83 kB / 1.514 GB, free: 2.953 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.307e-05/0.5509, allocations: 11.94 kB / 1.514 GB, free: 2.941 MB / 1.201 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.0001328/0.551, allocations: 149.9 kB / 1.514 GB, free: 2.785 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001194/0.5512, allocations: 31.8 kB / 1.514 GB, free: 2.754 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003136/0.5515, allocations: 123.1 kB / 1.514 GB, free: 2.621 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.5515, allocations: 4 kB / 1.514 GB, free: 2.617 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.5515, allocations: 4 kB / 1.514 GB, free: 2.613 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.5515, allocations: 0 / 1.514 GB, free: 2.613 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008382/0.5523, allocations: 0.7293 MB / 1.515 GB, free: 1.816 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.5523, allocations: 4.156 kB / 1.515 GB, free: 1.812 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001162/0.5524, allocations: 31.92 kB / 1.515 GB, free: 1.781 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.5525, allocations: 3.984 kB / 1.515 GB, free: 1.777 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.745e-05/0.5525, allocations: 8 kB / 1.515 GB, free: 1.77 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.562e-06/0.5525, allocations: 7.938 kB / 1.515 GB, free: 1.762 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.5525, allocations: 0 / 1.515 GB, free: 1.762 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005277/0.553, allocations: 343.4 kB / 1.515 GB, free: 1.395 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 7.516e-05/0.5531, allocations: 31.88 kB / 1.515 GB, free: 1.363 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.536e-05/0.5531, allocations: 8 kB / 1.515 GB, free: 1.355 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001231/0.5532, allocations: 7.984 kB / 1.515 GB, free: 1.348 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.487e-05/0.5533, allocations: 15.92 kB / 1.515 GB, free: 1.332 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.5533, allocations: 4 kB / 1.515 GB, free: 1.328 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0002012/0.5535, allocations: 211.1 kB / 1.516 GB, free: 1.125 MB / 1.201 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5535, allocations: 0 / 1.516 GB, free: 1.125 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0003178/0.5538, allocations: 55.88 kB / 1.516 GB, free: 1.07 MB / 1.201 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.000884/0.5547, allocations: 0.8922 MB / 1.517 GB, free: 140 kB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0003289/0.555, allocations: 119.8 kB / 1.517 GB, free: 20 kB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.555, allocations: 0 / 1.517 GB, free: 20 kB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0001564/0.5552, allocations: 64.64 kB / 1.517 GB, free: 15.96 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007015/0.5559, allocations: 137.1 kB / 1.517 GB, free: 15.82 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003179/0.5591, allocations: 2.606 MB / 1.519 GB, free: 13.07 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001364/0.5592, allocations: 142.2 kB / 1.52 GB, free: 12.91 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0001532/0.5594, allocations: 58.25 kB / 1.52 GB, free: 12.85 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.813e-05/0.5595, allocations: 63.42 kB / 1.52 GB, free: 12.79 MB / 1.217 GB Notification: Performance of SimCode: time 4.31e-07/0.5595, allocations: 0 / 1.52 GB, free: 12.79 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03828/0.5977, allocations: 7.835 MB / 1.527 GB, free: 5.195 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.49/11.09, allocations: 9.25 kB / 1.527 GB, free: 5.188 MB / 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.csv --start-time 0 --stop-time 60 --timeout 800 --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) [Timeout 840.0] 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) [Timeout 300] "Error: Could not read variable senStr.port_a.m_flow in file Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.csv. Warning: Get data of variable senStr.port_a.m_flow from file Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.csv failed! Error: Could not read variable senFloSou.h_out in file Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.csv. Warning: Get data of variable senFloSou.h_out from file Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.422377712093294]