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.001219/0.001219, 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.001377/0.001377, allocations: 214.8 kB / 22.25 MB, free: 4.859 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.362/1.362, allocations: 230.6 MB / 256 MB, free: 7.789 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.02/3.02, allocations: 0.5107 GB / 0.8158 GB, free: 17.77 MB / 0.6231 GB " [Timeout remaining time 177] 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="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: 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.001887/0.001887, allocations: 76.17 kB / 1.186 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2918/0.2936, allocations: 181.9 MB / 1.363 GB, free: 14.01 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.1796/0.4732, allocations: 160.7 MB / 1.52 GB, free: 12.74 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.00587/0.4791, allocations: 4.167 MB / 1.524 GB, free: 8.57 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005389/0.4796, allocations: 27.75 kB / 1.524 GB, free: 8.543 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.0006452/0.4803, allocations: 250.1 kB / 1.525 GB, free: 8.297 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.00183/0.4821, allocations: 0.7698 MB / 1.525 GB, free: 7.523 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.003453/0.4856, allocations: 1.55 MB / 1.527 GB, free: 5.973 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.001448/0.487, allocations: 1.258 MB / 1.528 GB, free: 4.711 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005065/0.4875, allocations: 361.8 kB / 1.528 GB, free: 4.348 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001405/0.4889, allocations: 0.8291 MB / 1.529 GB, free: 3.516 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004856/0.4894, allocations: 394.3 kB / 1.53 GB, free: 3.129 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 7.55e-05/0.4895, allocations: 44 kB / 1.53 GB, free: 3.086 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001958/0.4915, allocations: 1.254 MB / 1.531 GB, free: 1.828 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0001985/0.4917, allocations: 191.4 kB / 1.531 GB, free: 1.641 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0002595/0.4919, allocations: 246.9 kB / 1.531 GB, free: 1.398 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.001569/0.4935, allocations: 1.261 MB / 1.533 GB, free: 136 kB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.4935, allocations: 0 / 1.533 GB, free: 136 kB / 1.217 GB Notification: Performance of FrontEnd: time 1.453e-06/0.4935, allocations: 0 / 1.533 GB, free: 136 kB / 1.217 GB Notification: Performance of Transformations before backend: time 7.975e-06/0.4935, allocations: 0 / 1.533 GB, free: 136 kB / 1.217 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.001581/0.4951, allocations: 0.9683 MB / 1.534 GB, free: 15.12 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.4951, allocations: 12.03 kB / 1.534 GB, free: 15.11 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.953e-05/0.4952, allocations: 78.52 kB / 1.534 GB, free: 15.02 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00181/0.497, allocations: 283.3 kB / 1.534 GB, free: 14.74 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007522/0.4978, allocations: 410.6 kB / 1.534 GB, free: 14.32 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.182e-05/0.4978, allocations: 29 kB / 1.534 GB, free: 14.29 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.241e-05/0.4979, allocations: 48 kB / 1.534 GB, free: 14.24 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009826/0.4989, allocations: 0.5507 MB / 1.535 GB, free: 13.66 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.4989, allocations: 0 / 1.535 GB, free: 13.66 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.235e-05/0.4989, allocations: 19.94 kB / 1.535 GB, free: 13.64 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.315e-05/0.4989, allocations: 12 kB / 1.535 GB, free: 13.63 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001039/0.5, allocations: 459.5 kB / 1.535 GB, free: 13.18 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00237/0.5023, allocations: 1.779 MB / 1.537 GB, free: 11.32 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000937/0.5033, allocations: 390.4 kB / 1.537 GB, free: 10.93 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004713/0.5037, allocations: 217.3 kB / 1.538 GB, free: 10.72 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004906/0.5042, allocations: 83.91 kB / 1.538 GB, free: 10.64 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006068/0.5048, allocations: 310.4 kB / 1.538 GB, free: 10.32 MB / 1.232 GB Notification: Performance of pre-optimization done (n=37): time 1.643e-06/0.5048, allocations: 0 / 1.538 GB, free: 10.32 MB / 1.232 GB Notification: Performance of matching and sorting (n=37): time 0.001728/0.5066, allocations: 0.6852 MB / 1.539 GB, free: 9.629 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.679e-05/0.5066, allocations: 59.34 kB / 1.539 GB, free: 9.559 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005758/0.5072, allocations: 0.4902 MB / 1.539 GB, free: 9.055 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 4.49e-05/0.5072, allocations: 33.7 kB / 1.539 GB, free: 9.016 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002008/0.5074, allocations: 264.5 kB / 1.54 GB, free: 8.754 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.000116/0.5076, allocations: 134.8 kB / 1.54 GB, free: 8.621 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001518/0.5077, allocations: 98.02 kB / 1.54 GB, free: 8.52 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001644/0.5079, allocations: 358.8 kB / 1.54 GB, free: 8.16 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005223/0.5084, allocations: 256.2 kB / 1.54 GB, free: 7.895 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006674/0.5091, allocations: 0.4918 MB / 1.541 GB, free: 7.324 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00102/0.5101, allocations: 0.5457 MB / 1.541 GB, free: 6.727 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.5101, allocations: 3.938 kB / 1.541 GB, free: 6.723 MB / 1.232 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001317/0.5114, allocations: 0.695 MB / 1.542 GB, free: 5.996 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 5.299e-05/0.5115, allocations: 67.39 kB / 1.542 GB, free: 5.918 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.5115, allocations: 0 / 1.542 GB, free: 5.918 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.5115, allocations: 8 kB / 1.542 GB, free: 5.91 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000449/0.5119, allocations: 95.81 kB / 1.542 GB, free: 5.816 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/0.5119, allocations: 8 kB / 1.542 GB, free: 5.809 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004789/0.5124, allocations: 79.83 kB / 1.542 GB, free: 5.73 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.96e-05/0.5125, allocations: 23.98 kB / 1.542 GB, free: 5.707 MB / 1.232 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.000224/0.5127, allocations: 194.3 kB / 1.542 GB, free: 5.508 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.514e-05/0.5128, allocations: 59.56 kB / 1.543 GB, free: 5.449 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001204/0.514, allocations: 0.5449 MB / 1.543 GB, free: 4.891 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.514, allocations: 3.984 kB / 1.543 GB, free: 4.887 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.514, allocations: 4 kB / 1.543 GB, free: 4.883 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.514, allocations: 3.984 kB / 1.543 GB, free: 4.879 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002257/0.5162, allocations: 1.264 MB / 1.544 GB, free: 3.523 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.5163, allocations: 4 kB / 1.544 GB, free: 3.52 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003969/0.5166, allocations: 88.25 kB / 1.544 GB, free: 3.434 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.141e-06/0.5167, allocations: 4 kB / 1.544 GB, free: 3.43 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.532e-05/0.5167, allocations: 12 kB / 1.544 GB, free: 3.418 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.803e-06/0.5167, allocations: 7.984 kB / 1.544 GB, free: 3.41 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.5167, allocations: 4 kB / 1.544 GB, free: 3.406 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001709/0.5184, allocations: 0.9444 MB / 1.545 GB, free: 2.398 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002213/0.5186, allocations: 95.58 kB / 1.545 GB, free: 2.305 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.804e-05/0.5187, allocations: 16 kB / 1.545 GB, free: 2.289 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004152/0.5191, allocations: 35.95 kB / 1.546 GB, free: 2.254 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/0.5192, allocations: 47.94 kB / 1.546 GB, free: 2.207 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-05/0.5193, allocations: 16 kB / 1.546 GB, free: 2.191 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0004163/0.5197, allocations: 346.8 kB / 1.546 GB, free: 1.855 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5197, allocations: 0 / 1.546 GB, free: 1.855 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0005189/0.5202, allocations: 151.8 kB / 1.546 GB, free: 1.707 MB / 1.232 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.002155/0.5224, allocations: 1.572 MB / 1.548 GB, free: 68 kB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001193/0.5235, allocations: 0.6266 MB / 1.548 GB, free: 15.4 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.5235, allocations: 0 / 1.548 GB, free: 15.4 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0006364/0.5242, allocations: 270.4 kB / 1.548 GB, free: 15.14 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001325/0.5255, allocations: 286.4 kB / 1.549 GB, free: 14.86 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007488/0.533, allocations: 5.234 MB / 1.554 GB, free: 9.328 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002621/0.5333, allocations: 274 kB / 1.554 GB, free: 9.035 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0004675/0.5337, allocations: 128.7 kB / 1.554 GB, free: 8.906 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002777/0.534, allocations: 175.4 kB / 1.554 GB, free: 8.734 MB / 1.248 GB Notification: Performance of SimCode: time 5.61e-07/0.534, allocations: 0 / 1.554 GB, free: 8.734 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04824/0.5822, allocations: 17.65 MB / 1.572 GB, free: 7.504 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.59/11.17, allocations: 8.062 kB / 1.572 GB, free: 7.496 MB / 1.264 GB " [Timeout remaining time 289] (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: 17.329932786058635]