Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001198/0.001198, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001256/0.001256, allocations: 165.9 kB / 22.45 MB, free: 2.105 MB / 18.57 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 0.9304/0.9304, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.652/1.652, allocations: 359 MB / 0.6037 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.9505 GB, free: 3.48 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.874e-05/2.035e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.477 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.5991/0.5991, allocations: 142.2 MB / 1.089 GB, free: 39.27 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.003423/0.6025, allocations: 4.171 MB / 1.093 GB, free: 38.86 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004074/0.603, allocations: 16.75 kB / 1.093 GB, free: 38.85 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004449/0.6034, allocations: 131.2 kB / 1.094 GB, free: 38.8 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0007535/0.6041, allocations: 354.3 kB / 1.094 GB, free: 38.76 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006243/0.6048, allocations: 313.1 kB / 1.094 GB, free: 38.73 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0004588/0.6052, allocations: 0.5647 MB / 1.095 GB, free: 38.73 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002362/0.6055, allocations: 156.3 kB / 1.095 GB, free: 38.72 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007677/0.6062, allocations: 0.5282 MB / 1.095 GB, free: 38.65 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001717/0.6064, allocations: 181.5 kB / 1.096 GB, free: 38.63 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 2.616e-05/0.6064, allocations: 18.81 kB / 1.096 GB, free: 38.63 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001421/0.6066, allocations: 73.41 kB / 1.096 GB, free: 38.62 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 7.49e-05/0.6067, allocations: 92.08 kB / 1.096 GB, free: 38.59 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 6.428e-05/0.6067, allocations: 88.05 kB / 1.096 GB, free: 38.56 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003227/0.607, allocations: 317.2 kB / 1.096 GB, free: 38.46 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.607, allocations: 0 / 1.096 GB, free: 38.46 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.044e-06/0.607, allocations: 0 / 1.096 GB, free: 38.46 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.6071, allocations: 0 / 1.096 GB, free: 38.46 MB / 0.9948 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.0006272/0.6077, allocations: 471.3 kB / 1.097 GB, free: 38.08 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.6077, allocations: 10.5 kB / 1.097 GB, free: 38.08 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.837e-05/0.6078, allocations: 54.19 kB / 1.097 GB, free: 38.03 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.184e-05/0.6078, allocations: 32.88 kB / 1.097 GB, free: 38.01 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000282/0.6081, allocations: 231 kB / 1.097 GB, free: 37.83 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.6081, allocations: 15.81 kB / 1.097 GB, free: 37.82 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.749e-05/0.6081, allocations: 17.41 kB / 1.097 GB, free: 37.82 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002582/0.6084, allocations: 261.7 kB / 1.097 GB, free: 37.65 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.6084, allocations: 6.688 kB / 1.097 GB, free: 37.64 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.6084, allocations: 4 kB / 1.097 GB, free: 37.64 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.6084, allocations: 5.062 kB / 1.097 GB, free: 37.64 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001814/0.6086, allocations: 156.3 kB / 1.097 GB, free: 37.59 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007013/0.6093, allocations: 1.29 MB / 1.099 GB, free: 36.45 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001838/0.6095, allocations: 178.8 kB / 1.099 GB, free: 36.27 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.312e-05/0.6096, allocations: 90.48 kB / 1.099 GB, free: 36.21 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001781/0.6097, allocations: 40.64 kB / 1.099 GB, free: 36.21 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.737e-05/0.6098, allocations: 45.19 kB / 1.099 GB, free: 36.16 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=10): time 2.234e-06/0.6098, allocations: 6.797 kB / 1.099 GB, free: 36.16 MB / 0.9948 GB Notification: Performance of matching and sorting (n=10): time 0.0003692/0.6101, allocations: 204 kB / 1.099 GB, free: 36.07 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.458e-05/0.6102, allocations: 192.4 kB / 1.099 GB, free: 35.85 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001768/0.6104, allocations: 286.2 kB / 1.1 GB, free: 35.69 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.177e-05/0.6104, allocations: 32.77 kB / 1.1 GB, free: 35.66 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 6.702e-05/0.6104, allocations: 154 kB / 1.1 GB, free: 35.52 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 1.971e-05/0.6105, allocations: 39.38 kB / 1.1 GB, free: 35.5 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.067e-05/0.6105, allocations: 37.2 kB / 1.1 GB, free: 35.47 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 4.126e-05/0.6105, allocations: 335.4 kB / 1.1 GB, free: 35.14 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.659e-05/0.6106, allocations: 43.86 kB / 1.1 GB, free: 35.14 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001124/0.6107, allocations: 220.9 kB / 1.1 GB, free: 34.92 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001536/0.6109, allocations: 160.4 kB / 1.101 GB, free: 34.82 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.6109, allocations: 0 / 1.101 GB, free: 34.82 MB / 0.9948 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001927/0.6111, allocations: 193.8 kB / 1.101 GB, free: 34.73 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.6111, allocations: 7.562 kB / 1.101 GB, free: 34.73 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.6111, allocations: 2.25 kB / 1.101 GB, free: 34.73 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.6111, allocations: 6.625 kB / 1.101 GB, free: 34.72 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.445e-05/0.6112, allocations: 33.33 kB / 1.101 GB, free: 34.72 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.6112, allocations: 2.594 kB / 1.101 GB, free: 34.72 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.915e-05/0.6113, allocations: 30.39 kB / 1.101 GB, free: 34.7 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.6113, allocations: 8.625 kB / 1.101 GB, free: 34.7 MB / 0.9948 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 7.588e-05/0.6114, allocations: 147.8 kB / 1.101 GB, free: 34.57 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.955e-05/0.6114, allocations: 24.52 kB / 1.101 GB, free: 34.56 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001875/0.6116, allocations: 134.6 kB / 1.101 GB, free: 34.49 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.6116, allocations: 10.5 kB / 1.101 GB, free: 34.48 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.6116, allocations: 2.969 kB / 1.101 GB, free: 34.48 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.6116, allocations: 0 / 1.101 GB, free: 34.48 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004509/0.6121, allocations: 0.7218 MB / 1.102 GB, free: 33.82 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.6121, allocations: 4.156 kB / 1.102 GB, free: 33.82 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.575e-05/0.6122, allocations: 25.14 kB / 1.102 GB, free: 33.82 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.6122, allocations: 8.672 kB / 1.102 GB, free: 33.81 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.6122, allocations: 9.75 kB / 1.102 GB, free: 33.81 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.6122, allocations: 2 kB / 1.102 GB, free: 33.81 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.6122, allocations: 2.938 kB / 1.102 GB, free: 33.81 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003322/0.6125, allocations: 336.1 kB / 1.102 GB, free: 33.58 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.255e-05/0.6126, allocations: 43.2 kB / 1.102 GB, free: 33.55 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.209e-05/0.6126, allocations: 3.219 kB / 1.102 GB, free: 33.55 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.135e-05/0.6127, allocations: 12.08 kB / 1.102 GB, free: 33.55 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.901e-05/0.6127, allocations: 8.75 kB / 1.102 GB, free: 33.55 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.287e-06/0.6127, allocations: 4.031 kB / 1.102 GB, free: 33.55 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0001757/0.6129, allocations: 215.5 kB / 1.103 GB, free: 33.43 MB / 0.9948 GB Notification: Performance of sort global known variables: time 2.41e-07/0.6129, allocations: 0 / 1.103 GB, free: 33.43 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0002705/0.6132, allocations: 58.25 kB / 1.103 GB, free: 33.41 MB / 0.9948 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.0006508/0.6138, allocations: 0.8926 MB / 1.103 GB, free: 32.65 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0002803/0.6141, allocations: 113.5 kB / 1.104 GB, free: 32.62 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.6141, allocations: 0.5625 kB / 1.104 GB, free: 32.62 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001089/0.6142, allocations: 62.09 kB / 1.104 GB, free: 32.6 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005256/0.6148, allocations: 126.9 kB / 1.104 GB, free: 32.57 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002154/0.6169, allocations: 2.587 MB / 1.106 GB, free: 30.76 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000113/0.617, allocations: 147.3 kB / 1.106 GB, free: 30.68 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0001544/0.6172, allocations: 51.67 kB / 1.106 GB, free: 30.67 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.617e-05/0.6173, allocations: 72.7 kB / 1.107 GB, free: 30.62 MB / 0.9948 GB Notification: Performance of SimCode: time 1.242e-06/0.6173, allocations: 3.938 kB / 1.107 GB, free: 30.62 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02567/0.6429, allocations: 7.96 MB / 1.114 GB, free: 29.21 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.282/7.925, allocations: 2.828 kB / 1.114 GB, free: 29.21 MB / 0.9948 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.csv --start-time 0 --stop-time 60 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 Buildings_11_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.csv. Warning: Get data of variable senStr.port_a.m_flow from file Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.csv failed! Error: Could not read variable senFloSou.h_out in file Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.csv. Warning: Get data of variable senFloSou.h_out from file Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.049836442805827]