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.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.001759/0.001759, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002361/0.002361, allocations: 212.2 kB / 22.24 MB, free: 4.855 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.856/1.856, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.868/2.868, allocations: 476 MB / 0.7699 GB, free: 4.73 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.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: 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.00217/0.00217, allocations: 67.64 kB / 1.117 GB, free: 41.01 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3211/0.3233, allocations: 170 MB / 1.283 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.2279/0.5511, allocations: 160.6 MB / 1.439 GB, free: 11.23 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.00773/0.5589, allocations: 4.144 MB / 1.443 GB, free: 7.074 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007054/0.5596, allocations: 35.62 kB / 1.444 GB, free: 7.039 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0009392/0.5605, allocations: 262.1 kB / 1.444 GB, free: 6.781 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.002377/0.5629, allocations: 0.7659 MB / 1.445 GB, free: 6.012 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.004341/0.5672, allocations: 1.549 MB / 1.446 GB, free: 4.465 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.002098/0.5693, allocations: 1.266 MB / 1.447 GB, free: 3.195 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008591/0.5702, allocations: 353.8 kB / 1.448 GB, free: 2.836 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00155/0.5717, allocations: 0.5955 MB / 1.448 GB, free: 2.238 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008704/0.5726, allocations: 410.2 kB / 1.449 GB, free: 1.836 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001552/0.5728, allocations: 48 kB / 1.449 GB, free: 1.789 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002913/0.5757, allocations: 1.258 MB / 1.45 GB, free: 0.5273 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0003198/0.576, allocations: 191.4 kB / 1.45 GB, free: 348 kB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0005132/0.5765, allocations: 254.8 kB / 1.45 GB, free: 92 kB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.003062/0.5796, allocations: 1.263 MB / 1.452 GB, free: 14.82 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.5796, allocations: 0 / 1.452 GB, free: 14.82 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.444e-06/0.5796, allocations: 0 / 1.452 GB, free: 14.82 MB / 1.154 GB Notification: Performance of Transformations before backend: time 2.801e-05/0.5796, allocations: 0 / 1.452 GB, free: 14.82 MB / 1.154 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.002234/0.5818, allocations: 0.9605 MB / 1.452 GB, free: 13.82 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/0.5819, allocations: 8.031 kB / 1.452 GB, free: 13.81 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001364/0.582, allocations: 78.53 kB / 1.453 GB, free: 13.73 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00213/0.5842, allocations: 295.2 kB / 1.453 GB, free: 13.44 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001063/0.5852, allocations: 402.6 kB / 1.453 GB, free: 13.02 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.812e-05/0.5853, allocations: 33 kB / 1.453 GB, free: 12.98 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000105/0.5854, allocations: 44 kB / 1.453 GB, free: 12.94 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001252/0.5866, allocations: 0.5546 MB / 1.454 GB, free: 12.36 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.873e-05/0.5866, allocations: 3.938 kB / 1.454 GB, free: 12.35 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.038e-05/0.5867, allocations: 23.94 kB / 1.454 GB, free: 12.33 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.595e-05/0.5867, allocations: 12 kB / 1.454 GB, free: 12.32 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001123/0.5878, allocations: 459.5 kB / 1.454 GB, free: 11.87 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.003148/0.591, allocations: 1.775 MB / 1.456 GB, free: 10.02 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001062/0.592, allocations: 400.4 kB / 1.456 GB, free: 9.617 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005253/0.5926, allocations: 208.7 kB / 1.457 GB, free: 9.41 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005726/0.5931, allocations: 88.5 kB / 1.457 GB, free: 9.324 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007014/0.5938, allocations: 304.3 kB / 1.457 GB, free: 9.016 MB / 1.154 GB Notification: Performance of pre-optimization done (n=37): time 2.946e-06/0.5938, allocations: 0 / 1.457 GB, free: 9.016 MB / 1.154 GB Notification: Performance of matching and sorting (n=37): time 0.001988/0.5958, allocations: 0.6916 MB / 1.458 GB, free: 8.316 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.574e-05/0.5959, allocations: 59.39 kB / 1.458 GB, free: 8.246 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008004/0.5967, allocations: 0.4941 MB / 1.458 GB, free: 7.738 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 7.022e-05/0.5968, allocations: 33.7 kB / 1.458 GB, free: 7.699 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002785/0.5971, allocations: 268.4 kB / 1.458 GB, free: 7.434 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001626/0.5972, allocations: 123 kB / 1.459 GB, free: 7.312 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001992/0.5974, allocations: 98.06 kB / 1.459 GB, free: 7.211 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002434/0.5977, allocations: 358.8 kB / 1.459 GB, free: 6.852 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000584/0.5983, allocations: 252.2 kB / 1.459 GB, free: 6.594 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000784/0.599, allocations: 0.4957 MB / 1.46 GB, free: 6.02 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001154/0.6002, allocations: 0.5487 MB / 1.46 GB, free: 5.418 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.802e-06/0.6002, allocations: 3.938 kB / 1.46 GB, free: 5.414 MB / 1.154 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001513/0.6017, allocations: 0.7065 MB / 1.461 GB, free: 4.676 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 6.29e-05/0.6018, allocations: 67.39 kB / 1.461 GB, free: 4.598 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.198e-06/0.6018, allocations: 0 / 1.461 GB, free: 4.598 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.376e-05/0.6018, allocations: 11.94 kB / 1.461 GB, free: 4.586 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004793/0.6023, allocations: 95.81 kB / 1.461 GB, free: 4.492 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.741e-05/0.6023, allocations: 8 kB / 1.461 GB, free: 4.484 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005919/0.6029, allocations: 83.77 kB / 1.461 GB, free: 4.402 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.809e-05/0.603, allocations: 20 kB / 1.461 GB, free: 4.383 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.0003009/0.6033, allocations: 193.6 kB / 1.461 GB, free: 4.184 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001133/0.6034, allocations: 55.66 kB / 1.462 GB, free: 4.129 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001395/0.6048, allocations: 0.5372 MB / 1.462 GB, free: 3.586 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.92e-06/0.6048, allocations: 0 / 1.462 GB, free: 3.586 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.6048, allocations: 4 kB / 1.462 GB, free: 3.582 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.6048, allocations: 64 / 1.462 GB, free: 3.582 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002572/0.6073, allocations: 1.269 MB / 1.463 GB, free: 2.219 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.6074, allocations: 4 kB / 1.463 GB, free: 2.215 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004138/0.6078, allocations: 80.31 kB / 1.463 GB, free: 2.137 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.847e-06/0.6078, allocations: 8 kB / 1.463 GB, free: 2.129 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.933e-05/0.6078, allocations: 12 kB / 1.463 GB, free: 2.117 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.825e-06/0.6078, allocations: 7.938 kB / 1.463 GB, free: 2.109 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.6078, allocations: 4 kB / 1.463 GB, free: 2.105 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001834/0.6097, allocations: 0.9425 MB / 1.464 GB, free: 1.102 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002708/0.6099, allocations: 95.55 kB / 1.464 GB, free: 1.008 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.701e-05/0.61, allocations: 19.98 kB / 1.464 GB, free: 0.9883 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004494/0.6105, allocations: 31.97 kB / 1.464 GB, free: 0.957 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/0.6106, allocations: 51.8 kB / 1.464 GB, free: 0.9062 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.7e-05/0.6106, allocations: 24.05 kB / 1.465 GB, free: 0.8828 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0004612/0.6111, allocations: 342.8 kB / 1.465 GB, free: 0.5508 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6111, allocations: 3.938 kB / 1.465 GB, free: 0.5469 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0006406/0.6117, allocations: 155.8 kB / 1.465 GB, free: 404 kB / 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.002446/0.6142, allocations: 1.558 MB / 1.467 GB, free: 14.77 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001328/0.6155, allocations: 0.623 MB / 1.467 GB, free: 14.11 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/0.6155, allocations: 0 / 1.467 GB, free: 14.11 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.000695/0.6162, allocations: 264.9 kB / 1.467 GB, free: 13.85 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001459/0.6177, allocations: 286.9 kB / 1.468 GB, free: 13.57 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009033/0.6267, allocations: 5.246 MB / 1.473 GB, free: 8.023 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003227/0.627, allocations: 270.1 kB / 1.473 GB, free: 7.734 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0005375/0.6276, allocations: 128.7 kB / 1.473 GB, free: 7.605 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003247/0.6279, allocations: 175.4 kB / 1.473 GB, free: 7.434 MB / 1.17 GB Notification: Performance of SimCode: time 1.443e-06/0.6279, allocations: 0 / 1.473 GB, free: 7.434 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05532/0.6832, allocations: 17.65 MB / 1.491 GB, free: 6.211 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.09/12.77, allocations: 19.12 kB / 1.491 GB, free: 6.199 MB / 1.186 GB " [Timeout remaining time 287] (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: 20.043502520304173]