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.001288/0.001288, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001496/0.001496, allocations: 217.8 kB / 23.03 MB, free: 4.922 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.453/1.453, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.201/3.201, allocations: 0.5003 GB / 0.8062 GB, free: 28.26 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="cs",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.002029/0.002029, allocations: 65.92 kB / 1.171 GB, free: 19.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3554/0.3575, allocations: 179 MB / 1.345 GB, free: 15.85 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.1936/0.5511, allocations: 160.5 MB / 1.502 GB, free: 14.7 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.006921/0.558, allocations: 4.166 MB / 1.506 GB, free: 10.52 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007447/0.5588, allocations: 27.75 kB / 1.506 GB, free: 10.5 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0008591/0.5596, allocations: 242.1 kB / 1.506 GB, free: 10.26 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002197/0.5618, allocations: 0.7659 MB / 1.507 GB, free: 9.488 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.004283/0.5661, allocations: 1.548 MB / 1.509 GB, free: 7.938 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001901/0.568, allocations: 1.266 MB / 1.51 GB, free: 6.668 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007354/0.5687, allocations: 361.8 kB / 1.51 GB, free: 6.309 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002018/0.5708, allocations: 0.833 MB / 1.511 GB, free: 5.473 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008023/0.5716, allocations: 422.3 kB / 1.511 GB, free: 5.059 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001413/0.5717, allocations: 48 kB / 1.512 GB, free: 5.012 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002596/0.5743, allocations: 1.266 MB / 1.513 GB, free: 3.742 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0003105/0.5746, allocations: 187.4 kB / 1.513 GB, free: 3.559 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0004296/0.575, allocations: 254.8 kB / 1.513 GB, free: 3.309 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.00254/0.5776, allocations: 1.25 MB / 1.514 GB, free: 2.055 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.5776, allocations: 4 kB / 1.514 GB, free: 2.051 MB / 1.201 GB Notification: Performance of FrontEnd: time 3.337e-06/0.5776, allocations: 4 kB / 1.514 GB, free: 2.047 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.385e-05/0.5776, allocations: 3.938 kB / 1.514 GB, free: 2.043 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001985/0.5796, allocations: 0.9643 MB / 1.515 GB, free: 1.035 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.5796, allocations: 12.03 kB / 1.515 GB, free: 1.023 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.81e-05/0.5797, allocations: 13 kB / 1.515 GB, free: 1.012 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001042/0.5798, allocations: 82.45 kB / 1.515 GB, free: 0.9219 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002117/0.5819, allocations: 287.3 kB / 1.516 GB, free: 0.6406 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008582/0.5827, allocations: 406.6 kB / 1.516 GB, free: 224 kB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.334e-05/0.5828, allocations: 29 kB / 1.516 GB, free: 196 kB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.427e-05/0.5829, allocations: 47.98 kB / 1.516 GB, free: 148 kB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001124/0.584, allocations: 0.5469 MB / 1.517 GB, free: 15.56 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.584, allocations: 0 / 1.517 GB, free: 15.56 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.061e-05/0.5841, allocations: 23.92 kB / 1.517 GB, free: 15.54 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.12e-05/0.5841, allocations: 12 kB / 1.517 GB, free: 15.52 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001075/0.5851, allocations: 455.5 kB / 1.517 GB, free: 15.08 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00258/0.5877, allocations: 1.779 MB / 1.519 GB, free: 13.23 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009867/0.5887, allocations: 394.4 kB / 1.519 GB, free: 12.83 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004859/0.5892, allocations: 221.3 kB / 1.52 GB, free: 12.61 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000542/0.5897, allocations: 95.84 kB / 1.52 GB, free: 12.52 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006387/0.5904, allocations: 287 kB / 1.52 GB, free: 12.23 MB / 1.217 GB Notification: Performance of pre-optimization done (n=37): time 2.364e-06/0.5904, allocations: 0 / 1.52 GB, free: 12.23 MB / 1.217 GB Notification: Performance of matching and sorting (n=37): time 0.001846/0.5922, allocations: 0.6963 MB / 1.521 GB, free: 11.52 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.246e-05/0.5923, allocations: 63.39 kB / 1.521 GB, free: 11.45 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006428/0.5929, allocations: 498 kB / 1.521 GB, free: 10.95 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 5.257e-05/0.593, allocations: 37.7 kB / 1.521 GB, free: 10.91 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002179/0.5932, allocations: 264.5 kB / 1.521 GB, free: 10.64 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001323/0.5933, allocations: 127 kB / 1.521 GB, free: 10.52 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001682/0.5935, allocations: 94.06 kB / 1.522 GB, free: 10.42 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001741/0.5937, allocations: 362.8 kB / 1.522 GB, free: 10.06 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005234/0.5942, allocations: 248.2 kB / 1.522 GB, free: 9.805 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006877/0.5949, allocations: 499.6 kB / 1.523 GB, free: 9.234 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001066/0.5959, allocations: 0.5534 MB / 1.523 GB, free: 8.629 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.5959, allocations: 0 / 1.523 GB, free: 8.629 MB / 1.217 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001427/0.5974, allocations: 0.7102 MB / 1.524 GB, free: 7.887 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 6.268e-05/0.5974, allocations: 67.39 kB / 1.524 GB, free: 7.809 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.5974, allocations: 0 / 1.524 GB, free: 7.809 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.314e-05/0.5975, allocations: 8 kB / 1.524 GB, free: 7.801 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004677/0.5979, allocations: 92.25 kB / 1.524 GB, free: 7.711 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.619e-05/0.5979, allocations: 11.94 kB / 1.524 GB, free: 7.699 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000535/0.5985, allocations: 79.56 kB / 1.524 GB, free: 7.621 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.674e-05/0.5985, allocations: 20 kB / 1.524 GB, free: 7.602 MB / 1.217 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.0002599/0.5988, allocations: 198.6 kB / 1.524 GB, free: 7.398 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.851e-05/0.5989, allocations: 51.67 kB / 1.524 GB, free: 7.348 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001258/0.6001, allocations: 0.5486 MB / 1.525 GB, free: 6.789 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.6001, allocations: 0 / 1.525 GB, free: 6.789 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.6002, allocations: 4 kB / 1.525 GB, free: 6.785 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.82e-06/0.6002, allocations: 0 / 1.525 GB, free: 6.785 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002451/0.6026, allocations: 1.272 MB / 1.526 GB, free: 5.422 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.259e-06/0.6026, allocations: 4 kB / 1.526 GB, free: 5.418 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004166/0.603, allocations: 75.88 kB / 1.526 GB, free: 5.344 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.698e-06/0.603, allocations: 4 kB / 1.526 GB, free: 5.34 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.288e-05/0.6031, allocations: 16 kB / 1.526 GB, free: 5.324 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.432e-06/0.6031, allocations: 4 kB / 1.526 GB, free: 5.32 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.792e-06/0.6031, allocations: 11.88 kB / 1.526 GB, free: 5.309 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001802/0.6049, allocations: 0.9377 MB / 1.527 GB, free: 4.309 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002268/0.6051, allocations: 99.45 kB / 1.527 GB, free: 4.211 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.872e-05/0.6052, allocations: 20.05 kB / 1.527 GB, free: 4.191 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004482/0.6057, allocations: 31.97 kB / 1.527 GB, free: 4.16 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001405/0.6058, allocations: 55.8 kB / 1.527 GB, free: 4.105 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.993e-05/0.6059, allocations: 12 kB / 1.527 GB, free: 4.094 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0004755/0.6063, allocations: 346.8 kB / 1.528 GB, free: 3.758 MB / 1.217 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6063, allocations: 0 / 1.528 GB, free: 3.758 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.000642/0.607, allocations: 147.9 kB / 1.528 GB, free: 3.613 MB / 1.217 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.002333/0.6093, allocations: 1.562 MB / 1.529 GB, free: 1.984 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001306/0.6106, allocations: 0.6262 MB / 1.53 GB, free: 1.32 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.6106, allocations: 0.75 kB / 1.53 GB, free: 1.32 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0006688/0.6113, allocations: 278.5 kB / 1.53 GB, free: 1.051 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001366/0.6126, allocations: 280.4 kB / 1.531 GB, free: 0.7812 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008286/0.6209, allocations: 5.233 MB / 1.536 GB, free: 11.24 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000292/0.6212, allocations: 270 kB / 1.536 GB, free: 10.95 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0004924/0.6217, allocations: 124.7 kB / 1.536 GB, free: 10.83 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003152/0.622, allocations: 175.4 kB / 1.536 GB, free: 10.66 MB / 1.232 GB Notification: Performance of SimCode: time 1.132e-06/0.622, allocations: 0 / 1.536 GB, free: 10.66 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04742/0.6695, allocations: 17.27 MB / 1.553 GB, free: 9.805 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/12.49, allocations: 12.53 kB / 1.553 GB, free: 9.797 MB / 1.248 GB " [Timeout remaining time 287] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=800 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.28944485995453]