Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.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.001262/0.001262, allocations: 107.1 kB / 16.45 MB, free: 6.453 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.001357/0.001357, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.433/1.433, allocations: 230.6 MB / 252.8 MB, free: 8.949 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.2/3.2, allocations: 0.505 GB / 0.8066 GB, free: 23.04 MB / 0.6231 GB " [Timeout remaining time 176] 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.TemperatureDryBulb,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb",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.002237/0.002237, allocations: 74.28 kB / 1.172 GB, free: 17.6 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3398/0.3421, allocations: 180.2 MB / 1.348 GB, free: 10.02 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.2359/0.578, allocations: 185.4 MB / 1.529 GB, free: 15.96 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.00795/0.5859, allocations: 4.475 MB / 1.533 GB, free: 11.48 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009578/0.5869, allocations: 27.75 kB / 1.533 GB, free: 11.45 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.0009416/0.5878, allocations: 246.1 kB / 1.533 GB, free: 11.21 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.002517/0.5904, allocations: 0.797 MB / 1.534 GB, free: 10.41 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.004197/0.5946, allocations: 1.541 MB / 1.536 GB, free: 8.867 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.001896/0.5964, allocations: 1.25 MB / 1.537 GB, free: 7.613 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007252/0.5972, allocations: 385.3 kB / 1.537 GB, free: 7.227 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001963/0.5991, allocations: 0.8213 MB / 1.538 GB, free: 6.402 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000814/0.5999, allocations: 422.3 kB / 1.539 GB, free: 5.988 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0001433/0.6001, allocations: 44 kB / 1.539 GB, free: 5.945 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003427/0.6035, allocations: 1.637 MB / 1.54 GB, free: 4.305 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0003139/0.6038, allocations: 187.4 kB / 1.54 GB, free: 4.121 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0004483/0.6043, allocations: 306.5 kB / 1.541 GB, free: 3.82 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.002464/0.6067, allocations: 1.304 MB / 1.542 GB, free: 2.512 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.6068, allocations: 0 / 1.542 GB, free: 2.512 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.582e-06/0.6068, allocations: 0 / 1.542 GB, free: 2.512 MB / 1.232 GB Notification: Performance of Transformations before backend: time 1.177e-05/0.6068, allocations: 0 / 1.542 GB, free: 2.512 MB / 1.232 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001954/0.6087, allocations: 1.04 MB / 1.543 GB, free: 1.41 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.6088, allocations: 11.98 kB / 1.543 GB, free: 1.398 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001039/0.6089, allocations: 78.53 kB / 1.543 GB, free: 1.312 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002081/0.6109, allocations: 295.2 kB / 1.543 GB, free: 1.023 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008323/0.6118, allocations: 477.8 kB / 1.544 GB, free: 0.5195 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.102e-05/0.6118, allocations: 29 kB / 1.544 GB, free: 0.4922 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.094e-05/0.6119, allocations: 51.98 kB / 1.544 GB, free: 452 kB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001071/0.613, allocations: 0.5429 MB / 1.544 GB, free: 15.87 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.613, allocations: 7.922 kB / 1.544 GB, free: 15.86 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.057e-05/0.613, allocations: 23.94 kB / 1.544 GB, free: 15.84 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.613, allocations: 8 kB / 1.544 GB, free: 15.83 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001112/0.6142, allocations: 467.5 kB / 1.545 GB, free: 15.37 MB / 1.248 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002714/0.6169, allocations: 2.108 MB / 1.547 GB, free: 13.13 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001019/0.6179, allocations: 396.3 kB / 1.547 GB, free: 12.73 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005013/0.6184, allocations: 213.3 kB / 1.547 GB, free: 12.52 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007079/0.6191, allocations: 396.3 kB / 1.548 GB, free: 12.06 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006407/0.6197, allocations: 306.4 kB / 1.548 GB, free: 11.75 MB / 1.248 GB Notification: Performance of pre-optimization done (n=37): time 1.914e-06/0.6197, allocations: 0 / 1.548 GB, free: 11.75 MB / 1.248 GB Notification: Performance of matching and sorting (n=37): time 0.001881/0.6216, allocations: 0.6889 MB / 1.549 GB, free: 11.05 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.677e-05/0.6217, allocations: 63.39 kB / 1.549 GB, free: 10.98 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006181/0.6223, allocations: 494 kB / 1.549 GB, free: 10.48 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 5.23e-05/0.6224, allocations: 37.7 kB / 1.549 GB, free: 10.44 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002204/0.6226, allocations: 264.5 kB / 1.55 GB, free: 10.18 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001273/0.6227, allocations: 127 kB / 1.55 GB, free: 10.05 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001732/0.6229, allocations: 94.06 kB / 1.55 GB, free: 9.957 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001917/0.6231, allocations: 362.8 kB / 1.55 GB, free: 9.594 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005192/0.6236, allocations: 192.8 kB / 1.55 GB, free: 9.406 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006209/0.6242, allocations: 320.1 kB / 1.551 GB, free: 9.051 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001115/0.6253, allocations: 0.5372 MB / 1.551 GB, free: 8.461 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.6253, allocations: 3.938 kB / 1.551 GB, free: 8.457 MB / 1.248 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001383/0.6267, allocations: 0.6488 MB / 1.552 GB, free: 7.789 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 5.811e-05/0.6268, allocations: 67.42 kB / 1.552 GB, free: 7.711 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.6268, allocations: 7.938 kB / 1.552 GB, free: 7.703 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.6268, allocations: 7.984 kB / 1.552 GB, free: 7.695 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004619/0.6273, allocations: 99.81 kB / 1.552 GB, free: 7.598 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.324e-05/0.6273, allocations: 7.984 kB / 1.552 GB, free: 7.59 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005211/0.6278, allocations: 79.58 kB / 1.552 GB, free: 7.512 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-05/0.6279, allocations: 24 kB / 1.552 GB, free: 7.488 MB / 1.248 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 (m_flow2.count,$PRE.m_flow2.count,m_flow2.T_start,$PRE.m_flow2.T_start,m_flow1.count,$PRE.m_flow1.count,m_flow1.T_start,$PRE.m_flow1.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 2 * 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.0002526/0.6281, allocations: 194.8 kB / 1.552 GB, free: 7.289 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.063e-05/0.6282, allocations: 59.66 kB / 1.552 GB, free: 7.23 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001309/0.6295, allocations: 0.5409 MB / 1.553 GB, free: 6.68 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.441e-06/0.6295, allocations: 4 kB / 1.553 GB, free: 6.676 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.6295, allocations: 0 / 1.553 GB, free: 6.676 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.6295, allocations: 0 / 1.553 GB, free: 6.676 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002413/0.6319, allocations: 1.361 MB / 1.554 GB, free: 5.215 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.6319, allocations: 4 kB / 1.554 GB, free: 5.211 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004044/0.6323, allocations: 71.88 kB / 1.554 GB, free: 5.141 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.855e-06/0.6324, allocations: 4 kB / 1.554 GB, free: 5.137 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.663e-05/0.6324, allocations: 16 kB / 1.554 GB, free: 5.121 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/0.6324, allocations: 4.438 kB / 1.554 GB, free: 5.117 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.936e-06/0.6324, allocations: 11.94 kB / 1.554 GB, free: 5.105 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001841/0.6342, allocations: 0.9408 MB / 1.555 GB, free: 4.102 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002351/0.6345, allocations: 168.6 kB / 1.555 GB, free: 3.918 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.819e-05/0.6346, allocations: 15.98 kB / 1.555 GB, free: 3.902 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004392/0.635, allocations: 40.02 kB / 1.555 GB, free: 3.863 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001294/0.6351, allocations: 47.83 kB / 1.555 GB, free: 3.816 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-05/0.6352, allocations: 16 kB / 1.556 GB, free: 3.801 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0004505/0.6356, allocations: 346.8 kB / 1.556 GB, free: 3.465 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6356, allocations: 3.938 kB / 1.556 GB, free: 3.461 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.0005979/0.6362, allocations: 155.8 kB / 1.556 GB, free: 3.309 MB / 1.248 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (temDyn.T,temDynLoss.T) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,m_flow1.T_start,m_flow1.count,m_flow2.T_start,m_flow2.count) * Number of discrete states: 2 (m_flow2.count,m_flow1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002458/0.6387, allocations: 1.556 MB / 1.558 GB, free: 1.684 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.00131/0.64, allocations: 0.5606 MB / 1.558 GB, free: 1.098 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.64, allocations: 4 kB / 1.558 GB, free: 1.094 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0006692/0.6407, allocations: 278.9 kB / 1.558 GB, free: 0.8242 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001376/0.642, allocations: 288 kB / 1.559 GB, free: 0.5469 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008519/0.6506, allocations: 5.007 MB / 1.563 GB, free: 11.29 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005894/0.6511, allocations: 0.8665 MB / 1.564 GB, free: 10.39 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0004901/0.6516, allocations: 128.7 kB / 1.564 GB, free: 10.26 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003219/0.652, allocations: 175.4 kB / 1.565 GB, free: 10.09 MB / 1.264 GB Notification: Performance of SimCode: time 6.31e-07/0.652, allocations: 0 / 1.565 GB, free: 10.09 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04783/0.6998, allocations: 15.95 MB / 1.58 GB, free: 10.4 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.816/9.516, allocations: 4 kB / 1.58 GB, free: 10.4 MB / 1.279 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_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_TemperatureDryBulb.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable masFloRat.T in file Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.csv. Warning: Get data of variable masFloRat.T from file Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.csv failed! Error: Could not read variable temSteSta.T in file Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.csv. Warning: Get data of variable temSteSta.T from file Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.csv failed! Error: Could not read variable masFloRat.ports[1].m_flow in file Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.csv. Warning: Get data of variable masFloRat.ports[1].m_flow from file Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.csv failed! Error: Could not read variable senRelTem.T_rel in file Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.csv. Warning: Get data of variable senRelTem.T_rel from file Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.11164461984299]