Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 112.2 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 190.6 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 225.6 MB / 249.3 MB, free: 3.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.478/2.478, allocations: 476.7 MB / 0.7628 GB, free: 15.14 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.TemperatureDryBulb,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001798/0.001798, allocations: 71.88 kB / 1.107 GB, free: 5.148 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7379/0.7397, allocations: 168.7 MB / 1.271 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.1987/0.9384, allocations: 182.7 MB / 1.45 GB, free: 14 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.00621/0.9446, allocations: 4.497 MB / 1.454 GB, free: 9.5 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00046/0.9451, allocations: 23.88 kB / 1.454 GB, free: 9.477 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0006073/0.9457, allocations: 246.1 kB / 1.454 GB, free: 9.234 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.001646/0.9473, allocations: 0.797 MB / 1.455 GB, free: 8.434 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.003122/0.9505, allocations: 1.557 MB / 1.457 GB, free: 6.879 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.001283/0.9517, allocations: 1.255 MB / 1.458 GB, free: 5.621 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004894/0.9522, allocations: 365.4 kB / 1.458 GB, free: 5.254 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008112/0.953, allocations: 0.5838 MB / 1.459 GB, free: 4.668 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004851/0.9535, allocations: 434.2 kB / 1.459 GB, free: 4.242 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 7.034e-05/0.9536, allocations: 51.94 kB / 1.459 GB, free: 4.191 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002237/0.9558, allocations: 1.652 MB / 1.461 GB, free: 2.535 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001862/0.956, allocations: 191.4 kB / 1.461 GB, free: 2.348 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0002735/0.9563, allocations: 298.5 kB / 1.461 GB, free: 2.055 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.001576/0.9579, allocations: 1.316 MB / 1.463 GB, free: 0.7344 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.9579, allocations: 0 / 1.463 GB, free: 0.7344 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.032e-06/0.9579, allocations: 0 / 1.463 GB, free: 0.7344 MB / 1.139 GB Notification: Performance of Transformations before backend: time 7.374e-06/0.9579, allocations: 0 / 1.463 GB, free: 0.7344 MB / 1.139 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.001636/0.9595, allocations: 1.047 MB / 1.464 GB, free: 15.62 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.211e-05/0.9595, allocations: 8.031 kB / 1.464 GB, free: 15.61 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.226e-05/0.9596, allocations: 78.53 kB / 1.464 GB, free: 15.53 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001878/0.9615, allocations: 287.2 kB / 1.464 GB, free: 15.25 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007013/0.9622, allocations: 465.8 kB / 1.465 GB, free: 14.75 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.209e-05/0.9623, allocations: 36.98 kB / 1.465 GB, free: 14.72 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.315e-05/0.9623, allocations: 44 kB / 1.465 GB, free: 14.68 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009593/0.9633, allocations: 0.5507 MB / 1.465 GB, free: 14.09 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.9633, allocations: 4 kB / 1.465 GB, free: 14.09 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.112e-05/0.9633, allocations: 19.94 kB / 1.465 GB, free: 14.07 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.19e-05/0.9634, allocations: 8 kB / 1.465 GB, free: 14.06 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001021/0.9644, allocations: 455.5 kB / 1.466 GB, free: 13.61 MB / 1.154 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002442/0.9668, allocations: 2.132 MB / 1.468 GB, free: 11.35 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009656/0.9678, allocations: 398.2 kB / 1.468 GB, free: 10.95 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004709/0.9683, allocations: 212.7 kB / 1.468 GB, free: 10.74 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006609/0.9689, allocations: 400.3 kB / 1.469 GB, free: 10.28 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006022/0.9695, allocations: 298.8 kB / 1.469 GB, free: 9.973 MB / 1.154 GB Notification: Performance of pre-optimization done (n=37): time 1.793e-06/0.9695, allocations: 0 / 1.469 GB, free: 9.973 MB / 1.154 GB Notification: Performance of matching and sorting (n=37): time 0.001748/0.9713, allocations: 0.6828 MB / 1.47 GB, free: 9.285 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.466e-05/0.9713, allocations: 59.16 kB / 1.47 GB, free: 9.215 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005636/0.9719, allocations: 0.4902 MB / 1.47 GB, free: 8.711 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 4.023e-05/0.9719, allocations: 29.7 kB / 1.47 GB, free: 8.676 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002011/0.9721, allocations: 272.4 kB / 1.47 GB, free: 8.406 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001072/0.9722, allocations: 122.9 kB / 1.471 GB, free: 8.285 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001518/0.9724, allocations: 90.11 kB / 1.471 GB, free: 8.191 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001597/0.9725, allocations: 366.8 kB / 1.471 GB, free: 7.824 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004817/0.973, allocations: 192.8 kB / 1.471 GB, free: 7.637 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005743/0.9736, allocations: 320.1 kB / 1.471 GB, free: 7.285 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00103/0.9746, allocations: 0.5409 MB / 1.472 GB, free: 6.691 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.007e-05/0.9746, allocations: 11.94 kB / 1.472 GB, free: 6.68 MB / 1.154 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001279/0.9759, allocations: 0.6484 MB / 1.473 GB, free: 6.012 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 5.463e-05/0.976, allocations: 67.39 kB / 1.473 GB, free: 5.934 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.976, allocations: 4 kB / 1.473 GB, free: 5.93 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.976, allocations: 4.375 kB / 1.473 GB, free: 5.926 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004488/0.9764, allocations: 103.8 kB / 1.473 GB, free: 5.824 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.9765, allocations: 4 kB / 1.473 GB, free: 5.82 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004957/0.977, allocations: 79.52 kB / 1.473 GB, free: 5.742 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.744e-05/0.977, allocations: 20 kB / 1.473 GB, free: 5.723 MB / 1.154 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.0002327/0.9772, allocations: 202.2 kB / 1.473 GB, free: 5.516 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.506e-05/0.9773, allocations: 59.62 kB / 1.473 GB, free: 5.457 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001205/0.9785, allocations: 0.5256 MB / 1.474 GB, free: 4.922 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.9785, allocations: 4 kB / 1.474 GB, free: 4.918 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.9785, allocations: 0 / 1.474 GB, free: 4.918 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.9785, allocations: 7.922 kB / 1.474 GB, free: 4.91 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002223/0.9808, allocations: 1.362 MB / 1.475 GB, free: 3.449 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.9808, allocations: 7.938 kB / 1.475 GB, free: 3.441 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003949/0.9812, allocations: 79.88 kB / 1.475 GB, free: 3.363 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.745e-06/0.9812, allocations: 4 kB / 1.475 GB, free: 3.359 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.336e-05/0.9812, allocations: 12 kB / 1.475 GB, free: 3.348 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.059e-06/0.9812, allocations: 4 kB / 1.475 GB, free: 3.344 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.9812, allocations: 8 kB / 1.475 GB, free: 3.336 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001747/0.9829, allocations: 0.9485 MB / 1.476 GB, free: 2.324 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002143/0.9832, allocations: 172.7 kB / 1.476 GB, free: 2.137 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.503e-05/0.9832, allocations: 15.98 kB / 1.476 GB, free: 2.121 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004187/0.9837, allocations: 27.97 kB / 1.476 GB, free: 2.094 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001223/0.9838, allocations: 55.94 kB / 1.476 GB, free: 2.039 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.837e-05/0.9838, allocations: 12 kB / 1.476 GB, free: 2.027 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0004195/0.9842, allocations: 346.8 kB / 1.477 GB, free: 1.691 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9842, allocations: 3.938 kB / 1.477 GB, free: 1.688 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0005426/0.9848, allocations: 155.8 kB / 1.477 GB, free: 1.535 MB / 1.154 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.002309/0.9871, allocations: 1.575 MB / 1.478 GB, free: 15.9 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001174/0.9883, allocations: 0.5647 MB / 1.479 GB, free: 15.31 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.9883, allocations: 0 / 1.479 GB, free: 15.31 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0006651/0.9889, allocations: 281.2 kB / 1.479 GB, free: 15.04 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001284/0.9902, allocations: 285.3 kB / 1.479 GB, free: 14.76 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007268/0.9975, allocations: 5.011 MB / 1.484 GB, free: 9.492 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004734/0.9979, allocations: 0.8704 MB / 1.485 GB, free: 8.594 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0003838/0.9983, allocations: 132.6 kB / 1.485 GB, free: 8.461 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002743/0.9986, allocations: 175.4 kB / 1.485 GB, free: 8.289 MB / 1.17 GB Notification: Performance of SimCode: time 5.61e-07/0.9986, allocations: 0 / 1.485 GB, free: 8.289 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0409/1.04, allocations: 15.97 MB / 1.501 GB, free: 8.59 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.111/9.15, allocations: 0 / 1.501 GB, free: 8.59 MB / 1.186 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_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_TemperatureDryBulb.fmu > Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.csv. Warning: Get data of variable masFloRat.T from file Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.csv failed! Error: Could not read variable temSteSta.T in file Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.csv. Warning: Get data of variable temSteSta.T from file Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.csv failed! Error: Could not read variable masFloRat.ports[1].m_flow in file Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.csv. Warning: Get data of variable masFloRat.ports[1].m_flow from file Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.csv failed! Error: Could not read variable senRelTem.T_rel in file Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.csv. Warning: Get data of variable senRelTem.T_rel from file Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.53578470100183]