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.00179/0.00179, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.002283/0.002283, allocations: 217.6 kB / 23.03 MB, free: 4.949 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.509/1.509, allocations: 230.6 MB / 256.8 MB, free: 7.773 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.877/2.877, allocations: 476.8 MB / 0.7715 GB, free: 3.895 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="Buildings_11_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.002002/0.002002, allocations: 65.8 kB / 1.118 GB, free: 40.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3568/0.3588, allocations: 170 MB / 1.284 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.2206/0.5795, allocations: 160.5 MB / 1.441 GB, free: 9.668 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.008007/0.5875, allocations: 4.16 MB / 1.445 GB, free: 5.504 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009864/0.5884, allocations: 27.75 kB / 1.445 GB, free: 5.477 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001083/0.5895, allocations: 258.1 kB / 1.445 GB, free: 5.223 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.0026/0.5921, allocations: 0.7659 MB / 1.446 GB, free: 4.453 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.004748/0.5969, allocations: 1.553 MB / 1.447 GB, free: 2.898 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.002252/0.5991, allocations: 1.274 MB / 1.449 GB, free: 1.621 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009277/0.6001, allocations: 357.8 kB / 1.449 GB, free: 1.258 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001574/0.6016, allocations: 0.5955 MB / 1.45 GB, free: 0.6602 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001059/0.6027, allocations: 438.2 kB / 1.45 GB, free: 236 kB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001876/0.6029, allocations: 48 kB / 1.45 GB, free: 188 kB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003093/0.606, allocations: 1.278 MB / 1.451 GB, free: 14.9 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003865/0.6064, allocations: 187.4 kB / 1.452 GB, free: 14.72 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0005562/0.6069, allocations: 254.8 kB / 1.452 GB, free: 14.47 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.003095/0.61, allocations: 1.259 MB / 1.453 GB, free: 13.21 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.61, allocations: 0 / 1.453 GB, free: 13.21 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.824e-06/0.61, allocations: 0 / 1.453 GB, free: 13.21 MB / 1.154 GB Notification: Performance of Transformations before backend: time 3.513e-05/0.6101, allocations: 0 / 1.453 GB, free: 13.21 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.002523/0.6126, allocations: 0.9698 MB / 1.454 GB, free: 12.2 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.49e-05/0.6126, allocations: 12.03 kB / 1.454 GB, free: 12.18 MB / 1.154 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.553e-05/0.6127, allocations: 12.94 kB / 1.454 GB, free: 12.17 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001266/0.6128, allocations: 82.52 kB / 1.454 GB, free: 12.08 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002362/0.6152, allocations: 283.3 kB / 1.454 GB, free: 11.8 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001118/0.6163, allocations: 402.6 kB / 1.455 GB, free: 11.38 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.459e-05/0.6163, allocations: 33 kB / 1.455 GB, free: 11.35 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001218/0.6164, allocations: 51.95 kB / 1.455 GB, free: 11.3 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001303/0.6177, allocations: 0.5468 MB / 1.455 GB, free: 10.72 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.223e-05/0.6178, allocations: 3.938 kB / 1.455 GB, free: 10.72 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.425e-05/0.6178, allocations: 19.98 kB / 1.455 GB, free: 10.7 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.051e-05/0.6178, allocations: 8 kB / 1.455 GB, free: 10.69 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00118/0.619, allocations: 459.6 kB / 1.456 GB, free: 10.24 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.002941/0.622, allocations: 1.783 MB / 1.458 GB, free: 8.383 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/0.623, allocations: 390.4 kB / 1.458 GB, free: 7.992 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006096/0.6236, allocations: 212.7 kB / 1.458 GB, free: 7.781 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005998/0.6242, allocations: 91.91 kB / 1.458 GB, free: 7.691 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006868/0.6249, allocations: 291.4 kB / 1.458 GB, free: 7.395 MB / 1.154 GB Notification: Performance of pre-optimization done (n=37): time 2.715e-06/0.6249, allocations: 0 / 1.458 GB, free: 7.395 MB / 1.154 GB Notification: Performance of matching and sorting (n=37): time 0.001952/0.6269, allocations: 0.6978 MB / 1.459 GB, free: 6.691 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.949e-05/0.6269, allocations: 59.41 kB / 1.459 GB, free: 6.621 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006989/0.6276, allocations: 498 kB / 1.46 GB, free: 6.121 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 5.846e-05/0.6277, allocations: 33.7 kB / 1.46 GB, free: 6.082 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002504/0.6279, allocations: 272.4 kB / 1.46 GB, free: 5.812 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001445/0.6281, allocations: 126.9 kB / 1.46 GB, free: 5.688 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001933/0.6282, allocations: 94.08 kB / 1.46 GB, free: 5.59 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001878/0.6284, allocations: 362.7 kB / 1.461 GB, free: 5.227 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005717/0.629, allocations: 260.2 kB / 1.461 GB, free: 4.961 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007291/0.6297, allocations: 0.4899 MB / 1.461 GB, free: 4.395 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001147/0.6309, allocations: 0.5448 MB / 1.462 GB, free: 3.797 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.6309, allocations: 0 / 1.462 GB, free: 3.797 MB / 1.154 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001489/0.6324, allocations: 0.6989 MB / 1.462 GB, free: 3.066 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 6.601e-05/0.6324, allocations: 75.33 kB / 1.463 GB, free: 2.98 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.6325, allocations: 4 kB / 1.463 GB, free: 2.977 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.362e-05/0.6325, allocations: 4 kB / 1.463 GB, free: 2.973 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005048/0.633, allocations: 95.88 kB / 1.463 GB, free: 2.879 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.553e-05/0.633, allocations: 4 kB / 1.463 GB, free: 2.875 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006022/0.6336, allocations: 79.58 kB / 1.463 GB, free: 2.797 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.625e-05/0.6337, allocations: 27.98 kB / 1.463 GB, free: 2.77 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.0003109/0.634, allocations: 198.1 kB / 1.463 GB, free: 2.566 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001152/0.6341, allocations: 55.62 kB / 1.463 GB, free: 2.512 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001322/0.6354, allocations: 0.537 MB / 1.464 GB, free: 1.969 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.6354, allocations: 8 kB / 1.464 GB, free: 1.961 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.6354, allocations: 3.984 kB / 1.464 GB, free: 1.957 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.6354, allocations: 3.984 kB / 1.464 GB, free: 1.953 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002641/0.6381, allocations: 1.27 MB / 1.465 GB, free: 0.5898 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/0.6381, allocations: 4 kB / 1.465 GB, free: 0.5859 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004308/0.6385, allocations: 75.88 kB / 1.465 GB, free: 0.5117 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.147e-05/0.6385, allocations: 8.438 kB / 1.465 GB, free: 0.5039 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.074e-05/0.6386, allocations: 12 kB / 1.465 GB, free: 0.4922 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.399e-05/0.6386, allocations: 11.98 kB / 1.465 GB, free: 492 kB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.623e-06/0.6386, allocations: 7.938 kB / 1.465 GB, free: 484 kB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001874/0.6405, allocations: 0.9338 MB / 1.466 GB, free: 15.48 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002927/0.6408, allocations: 99.5 kB / 1.466 GB, free: 15.38 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001201/0.6409, allocations: 12 kB / 1.466 GB, free: 15.37 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000493/0.6414, allocations: 35.95 kB / 1.466 GB, free: 15.33 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000147/0.6415, allocations: 51.81 kB / 1.466 GB, free: 15.28 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.234e-05/0.6416, allocations: 19.98 kB / 1.466 GB, free: 15.26 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0004945/0.6421, allocations: 346.8 kB / 1.466 GB, free: 14.93 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6421, allocations: 3.938 kB / 1.466 GB, free: 14.92 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0006518/0.6427, allocations: 151.9 kB / 1.466 GB, free: 14.77 MB / 1.17 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.002557/0.6453, allocations: 1.574 MB / 1.468 GB, free: 13.13 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001433/0.6467, allocations: 0.6229 MB / 1.469 GB, free: 12.47 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 8.596e-06/0.6467, allocations: 4 kB / 1.469 GB, free: 12.47 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0007132/0.6474, allocations: 264.7 kB / 1.469 GB, free: 12.21 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001622/0.649, allocations: 285.4 kB / 1.469 GB, free: 11.93 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009195/0.6582, allocations: 5.236 MB / 1.474 GB, free: 6.391 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003642/0.6586, allocations: 270.1 kB / 1.475 GB, free: 6.102 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0005806/0.6592, allocations: 124.7 kB / 1.475 GB, free: 5.977 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003635/0.6595, allocations: 175.4 kB / 1.475 GB, free: 5.805 MB / 1.17 GB Notification: Performance of SimCode: time 1.252e-06/0.6595, allocations: 0 / 1.475 GB, free: 5.805 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05005/0.7096, allocations: 17.29 MB / 1.492 GB, free: 5.004 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.43/13.14, allocations: 7.438 kB / 1.492 GB, free: 5 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=400 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 20.125729823019356]