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.001261/0.001261, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.00143/0.00143, allocations: 215.4 kB / 23.04 MB, free: 5.07 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.515/1.515, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.742/2.742, allocations: 476.7 MB / 0.7714 GB, free: 4.301 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.002018/0.002018, allocations: 70.17 kB / 1.118 GB, free: 39.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3042/0.3062, allocations: 170 MB / 1.284 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.2721/0.5783, allocations: 185.6 MB / 1.465 GB, free: 1.262 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.007104/0.5854, allocations: 4.497 MB / 1.47 GB, free: 12.76 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001022/0.5864, allocations: 27.75 kB / 1.47 GB, free: 12.73 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0009178/0.5873, allocations: 250.1 kB / 1.47 GB, free: 12.48 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002274/0.5896, allocations: 0.8009 MB / 1.471 GB, free: 11.68 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.004511/0.5941, allocations: 1.604 MB / 1.472 GB, free: 10.07 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002831/0.5969, allocations: 1.27 MB / 1.474 GB, free: 8.801 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009633/0.5979, allocations: 361.3 kB / 1.474 GB, free: 8.438 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001871/0.5998, allocations: 0.5994 MB / 1.475 GB, free: 7.836 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007453/0.6005, allocations: 434.2 kB / 1.475 GB, free: 7.41 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 8.871e-05/0.6006, allocations: 48 kB / 1.475 GB, free: 7.363 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003861/0.6045, allocations: 1.672 MB / 1.477 GB, free: 5.688 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0002928/0.6047, allocations: 195.4 kB / 1.477 GB, free: 5.496 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0004427/0.6052, allocations: 310.5 kB / 1.477 GB, free: 5.191 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.003047/0.6082, allocations: 1.304 MB / 1.478 GB, free: 3.883 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.6082, allocations: 0 / 1.478 GB, free: 3.883 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.413e-06/0.6082, allocations: 0 / 1.478 GB, free: 3.883 MB / 1.17 GB Notification: Performance of Transformations before backend: time 9.488e-06/0.6083, allocations: 0 / 1.478 GB, free: 3.883 MB / 1.17 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.002536/0.6108, allocations: 0.9682 MB / 1.479 GB, free: 2.871 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 8.785e-05/0.6109, allocations: 12.03 kB / 1.479 GB, free: 2.859 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.862e-05/0.6109, allocations: 12.94 kB / 1.479 GB, free: 2.844 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001276/0.611, allocations: 90.45 kB / 1.48 GB, free: 2.746 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002996/0.614, allocations: 287.3 kB / 1.48 GB, free: 2.465 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001042/0.6151, allocations: 402.6 kB / 1.48 GB, free: 2.047 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.956e-05/0.6151, allocations: 33 kB / 1.48 GB, free: 2.016 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.574e-05/0.6152, allocations: 44 kB / 1.48 GB, free: 1.973 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001205/0.6164, allocations: 0.5468 MB / 1.481 GB, free: 1.395 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.6164, allocations: 0 / 1.481 GB, free: 1.395 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.364e-05/0.6165, allocations: 23.92 kB / 1.481 GB, free: 1.371 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.822e-05/0.6165, allocations: 12 kB / 1.481 GB, free: 1.359 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00115/0.6176, allocations: 455.6 kB / 1.481 GB, free: 0.9141 MB / 1.17 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.003228/0.6209, allocations: 2.085 MB / 1.483 GB, free: 14.7 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001085/0.622, allocations: 390.4 kB / 1.484 GB, free: 14.31 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005352/0.6225, allocations: 212.7 kB / 1.484 GB, free: 14.1 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006148/0.6231, allocations: 100.5 kB / 1.484 GB, free: 14 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007033/0.6238, allocations: 286.8 kB / 1.484 GB, free: 13.71 MB / 1.186 GB Notification: Performance of pre-optimization done (n=37): time 3.186e-06/0.6238, allocations: 0 / 1.484 GB, free: 13.71 MB / 1.186 GB Notification: Performance of matching and sorting (n=37): time 0.002023/0.6258, allocations: 0.7017 MB / 1.485 GB, free: 13 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.503e-05/0.6259, allocations: 59.39 kB / 1.485 GB, free: 12.93 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007152/0.6266, allocations: 498.1 kB / 1.485 GB, free: 12.43 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 5.667e-05/0.6267, allocations: 33.7 kB / 1.485 GB, free: 12.39 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002476/0.6269, allocations: 264.5 kB / 1.486 GB, free: 12.13 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001446/0.6271, allocations: 126.9 kB / 1.486 GB, free: 12.01 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001934/0.6273, allocations: 102 kB / 1.486 GB, free: 11.9 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001969/0.6274, allocations: 358.8 kB / 1.486 GB, free: 11.54 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005308/0.628, allocations: 196.8 kB / 1.486 GB, free: 11.35 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006333/0.6286, allocations: 319.7 kB / 1.487 GB, free: 11 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001127/0.6297, allocations: 0.5526 MB / 1.487 GB, free: 10.4 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.6297, allocations: 0 / 1.487 GB, free: 10.4 MB / 1.186 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001523/0.6313, allocations: 0.6407 MB / 1.488 GB, free: 9.738 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 6.48e-05/0.6313, allocations: 71.33 kB / 1.488 GB, free: 9.656 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.6313, allocations: 4 kB / 1.488 GB, free: 9.652 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.6314, allocations: 4 kB / 1.488 GB, free: 9.648 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004851/0.6318, allocations: 95.88 kB / 1.488 GB, free: 9.555 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/0.6319, allocations: 4 kB / 1.488 GB, free: 9.551 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005467/0.6324, allocations: 79.83 kB / 1.488 GB, free: 9.473 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.046e-05/0.6325, allocations: 28.05 kB / 1.488 GB, free: 9.445 MB / 1.186 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.0002942/0.6328, allocations: 200.5 kB / 1.488 GB, free: 9.242 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.28e-05/0.6329, allocations: 59.62 kB / 1.488 GB, free: 9.184 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00138/0.6342, allocations: 0.5332 MB / 1.489 GB, free: 8.645 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/0.6342, allocations: 4 kB / 1.489 GB, free: 8.641 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.6342, allocations: 0 / 1.489 GB, free: 8.641 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.6343, allocations: 0 / 1.489 GB, free: 8.641 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002616/0.6369, allocations: 1.328 MB / 1.49 GB, free: 7.219 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.305e-06/0.6369, allocations: 4 kB / 1.49 GB, free: 7.215 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004793/0.6374, allocations: 75.89 kB / 1.49 GB, free: 7.141 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.916e-06/0.6374, allocations: 4.438 kB / 1.49 GB, free: 7.137 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.495e-05/0.6374, allocations: 19.98 kB / 1.49 GB, free: 7.117 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.294e-06/0.6374, allocations: 4 kB / 1.49 GB, free: 7.113 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.605e-06/0.6374, allocations: 7.938 kB / 1.49 GB, free: 7.105 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001924/0.6393, allocations: 0.9366 MB / 1.491 GB, free: 6.109 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002631/0.6396, allocations: 95.55 kB / 1.491 GB, free: 6.016 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.653e-05/0.6397, allocations: 12.06 kB / 1.491 GB, free: 6.004 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004344/0.6401, allocations: 43.95 kB / 1.491 GB, free: 5.961 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000138/0.6403, allocations: 47.81 kB / 1.492 GB, free: 5.914 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.944e-05/0.6403, allocations: 27.91 kB / 1.492 GB, free: 5.887 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0004715/0.6408, allocations: 342.8 kB / 1.492 GB, free: 5.555 MB / 1.186 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6408, allocations: 0 / 1.492 GB, free: 5.555 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.000642/0.6414, allocations: 159.8 kB / 1.492 GB, free: 5.398 MB / 1.186 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.002554/0.644, allocations: 1.56 MB / 1.494 GB, free: 3.77 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001373/0.6453, allocations: 0.5652 MB / 1.494 GB, free: 3.18 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.6454, allocations: 128 / 1.494 GB, free: 3.18 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0007268/0.6461, allocations: 271.6 kB / 1.494 GB, free: 2.914 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001592/0.6477, allocations: 286.3 kB / 1.495 GB, free: 2.641 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00848/0.6562, allocations: 5.013 MB / 1.5 GB, free: 13.36 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005856/0.6567, allocations: 0.8704 MB / 1.5 GB, free: 12.46 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0005622/0.6573, allocations: 120.7 kB / 1.5 GB, free: 12.34 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003278/0.6576, allocations: 183.4 kB / 1.501 GB, free: 12.16 MB / 1.201 GB Notification: Performance of SimCode: time 1.462e-06/0.6576, allocations: 0 / 1.501 GB, free: 12.16 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04746/0.7051, allocations: 16.36 MB / 1.517 GB, free: 12.13 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.31/13.01, allocations: 8.938 kB / 1.517 GB, free: 12.13 MB / 1.217 GB " [Timeout remaining time 286] (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: 19.890863930049818]