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.0007744/0.0007744, allocations: 76.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.0008262/0.0008262, allocations: 173.2 kB / 22.46 MB, free: 2.098 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.8791/0.8791, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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 1.707/1.707, allocations: 389 MB / 0.633 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0 / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.891e-05/2.067e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.5781/0.5781, allocations: 160.5 MB / 1.156 GB, free: 15.16 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.005155/0.5833, allocations: 4.124 MB / 1.16 GB, free: 12.37 MB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005556/0.5838, allocations: 30.56 kB / 1.16 GB, free: 12.35 MB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 0.0006584/0.5845, allocations: 256.3 kB / 1.161 GB, free: 12.18 MB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 0.001795/0.5863, allocations: 0.7761 MB / 1.161 GB, free: 11.75 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.003251/0.5895, allocations: 1.604 MB / 1.163 GB, free: 10.96 MB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 0.001432/0.591, allocations: 1.219 MB / 1.164 GB, free: 10.39 MB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004986/0.5915, allocations: 334.8 kB / 1.165 GB, free: 10.25 MB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001703/0.5932, allocations: 0.9742 MB / 1.166 GB, free: 9.824 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004359/0.5936, allocations: 350.8 kB / 1.166 GB, free: 9.715 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 6.077e-05/0.5937, allocations: 44.88 kB / 1.166 GB, free: 9.715 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002323/0.596, allocations: 1.266 MB / 1.167 GB, free: 9.234 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 0.0002233/0.5962, allocations: 196.8 kB / 1.167 GB, free: 9.141 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 0.0002323/0.5964, allocations: 212.8 kB / 1.168 GB, free: 9.059 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.002014/0.5985, allocations: 1.325 MB / 1.169 GB, free: 8.617 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.5985, allocations: 0.7031 kB / 1.169 GB, free: 8.617 MB / 1.026 GB Notification: Performance of FrontEnd: time 1.864e-06/0.5985, allocations: 0 / 1.169 GB, free: 8.617 MB / 1.026 GB Notification: Performance of Transformations before backend: time 1.175e-05/0.5985, allocations: 0 / 1.169 GB, free: 8.617 MB / 1.026 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.00133/0.5998, allocations: 0.9507 MB / 1.17 GB, free: 7.938 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.5998, allocations: 11.95 kB / 1.17 GB, free: 7.938 MB / 1.026 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.721e-05/0.5999, allocations: 82.08 kB / 1.17 GB, free: 7.871 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001173/0.6011, allocations: 293 kB / 1.17 GB, free: 7.809 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006078/0.6017, allocations: 389.8 kB / 1.17 GB, free: 7.551 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.124e-05/0.6017, allocations: 32.14 kB / 1.171 GB, free: 7.535 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.947e-05/0.6018, allocations: 46.05 kB / 1.171 GB, free: 7.52 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007728/0.6026, allocations: 0.5469 MB / 1.171 GB, free: 7.266 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.6026, allocations: 5.281 kB / 1.171 GB, free: 7.262 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.15e-05/0.6026, allocations: 16.69 kB / 1.171 GB, free: 7.25 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.227e-05/0.6026, allocations: 14.59 kB / 1.171 GB, free: 7.25 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006708/0.6033, allocations: 456.5 kB / 1.172 GB, free: 7.121 MB / 1.026 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001783/0.6051, allocations: 1.784 MB / 1.173 GB, free: 5.848 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006613/0.6057, allocations: 390.5 kB / 1.174 GB, free: 5.727 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003029/0.606, allocations: 213.9 kB / 1.174 GB, free: 5.664 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003184/0.6064, allocations: 90.61 kB / 1.174 GB, free: 5.656 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004408/0.6068, allocations: 296.3 kB / 1.174 GB, free: 5.547 MB / 1.026 GB Notification: Performance of pre-optimization done (n=37): time 2.204e-06/0.6068, allocations: 0 / 1.174 GB, free: 5.547 MB / 1.026 GB Notification: Performance of matching and sorting (n=37): time 0.001188/0.608, allocations: 0.6911 MB / 1.175 GB, free: 5.328 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.608, allocations: 57.25 kB / 1.175 GB, free: 5.266 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004726/0.6085, allocations: 491.2 kB / 1.175 GB, free: 5.043 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 3.691e-05/0.6085, allocations: 37.8 kB / 1.175 GB, free: 5.004 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001573/0.6087, allocations: 260.6 kB / 1.176 GB, free: 4.793 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 9.011e-05/0.6088, allocations: 132.2 kB / 1.176 GB, free: 4.688 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001198/0.6089, allocations: 94.09 kB / 1.176 GB, free: 4.637 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.609, allocations: 360.1 kB / 1.176 GB, free: 4.305 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003448/0.6094, allocations: 255.8 kB / 1.177 GB, free: 4.188 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004442/0.6098, allocations: 0.4926 MB / 1.177 GB, free: 3.797 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000664/0.6105, allocations: 0.5427 MB / 1.178 GB, free: 3.488 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.6105, allocations: 1.219 kB / 1.178 GB, free: 3.488 MB / 1.026 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.000878/0.6114, allocations: 0.7023 MB / 1.178 GB, free: 3.148 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 4.717e-05/0.6114, allocations: 69.94 kB / 1.178 GB, free: 3.078 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.687e-06/0.6114, allocations: 2.938 kB / 1.178 GB, free: 3.078 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.6114, allocations: 5 kB / 1.178 GB, free: 3.078 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002652/0.6117, allocations: 94.62 kB / 1.178 GB, free: 3.07 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.6117, allocations: 14.47 kB / 1.178 GB, free: 3.062 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003441/0.6121, allocations: 79.27 kB / 1.178 GB, free: 3.027 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.739e-05/0.6121, allocations: 21.88 kB / 1.178 GB, free: 3.023 MB / 1.026 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.0001863/0.6123, allocations: 188.2 kB / 1.179 GB, free: 2.871 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.854e-05/0.6123, allocations: 65.25 kB / 1.179 GB, free: 2.832 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000789/0.6131, allocations: 0.537 MB / 1.179 GB, free: 2.633 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.6131, allocations: 3.625 kB / 1.179 GB, free: 2.633 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.6131, allocations: 0.5156 kB / 1.179 GB, free: 2.633 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.6132, allocations: 1.969 kB / 1.179 GB, free: 2.633 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001531/0.6147, allocations: 1.276 MB / 1.181 GB, free: 1.945 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/0.6147, allocations: 5.094 kB / 1.181 GB, free: 1.945 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002114/0.6149, allocations: 70.62 kB / 1.181 GB, free: 1.941 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.033e-06/0.6149, allocations: 5.703 kB / 1.181 GB, free: 1.941 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.653e-05/0.6149, allocations: 20.67 kB / 1.181 GB, free: 1.93 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.626e-06/0.6149, allocations: 12.8 kB / 1.181 GB, free: 1.926 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.6149, allocations: 8.234 kB / 1.181 GB, free: 1.922 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001165/0.6161, allocations: 0.93 MB / 1.182 GB, free: 1.441 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001513/0.6163, allocations: 95.75 kB / 1.182 GB, free: 1.391 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.555e-05/0.6163, allocations: 17.78 kB / 1.182 GB, free: 1.383 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002094/0.6165, allocations: 40.7 kB / 1.182 GB, free: 1.371 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.738e-05/0.6166, allocations: 46.05 kB / 1.182 GB, free: 1.359 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.378e-05/0.6167, allocations: 15.09 kB / 1.182 GB, free: 1.359 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0003184/0.617, allocations: 347.2 kB / 1.182 GB, free: 1.199 MB / 1.026 GB Notification: Performance of sort global known variables: time 7e-08/0.617, allocations: 0 / 1.182 GB, free: 1.199 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.0005094/0.6175, allocations: 147.5 kB / 1.182 GB, free: 1.18 MB / 1.026 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.001522/0.619, allocations: 1.546 MB / 1.184 GB, free: 144 kB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.0008751/0.6199, allocations: 0.6281 MB / 1.184 GB, free: 15.82 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.6199, allocations: 0 / 1.184 GB, free: 15.82 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.000411/0.6203, allocations: 275.4 kB / 1.185 GB, free: 15.73 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008196/0.6211, allocations: 278.7 kB / 1.185 GB, free: 15.66 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005856/0.627, allocations: 5.162 MB / 1.19 GB, free: 12.55 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002293/0.6272, allocations: 265.2 kB / 1.19 GB, free: 12.44 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.0004387/0.6276, allocations: 127.9 kB / 1.19 GB, free: 12.41 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002145/0.6278, allocations: 177.5 kB / 1.19 GB, free: 12.29 MB / 1.042 GB Notification: Performance of SimCode: time 1.483e-06/0.6279, allocations: 0 / 1.19 GB, free: 12.29 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0337/0.6615, allocations: 17.4 MB / 1.207 GB, free: 4.688 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.757/7.419, allocations: 15.28 kB / 1.207 GB, free: 4.684 MB / 1.042 GB " [Timeout remaining time 292] (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/jenkins/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: 11.38448353484273]