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.001424/0.001424, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.001739/0.001739, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.57/1.57, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.834/2.834, allocations: 476.7 MB / 0.7678 GB, free: 9.312 MB / 0.6075 GB " [Timeout remaining time 176] 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.002134/0.002134, allocations: 76.19 kB / 1.113 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9062/0.9083, allocations: 169.9 MB / 1.279 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.2373/1.146, allocations: 185.3 MB / 1.46 GB, free: 2.445 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.007047/1.153, allocations: 4.471 MB / 1.464 GB, free: 13.97 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006242/1.153, allocations: 27.75 kB / 1.464 GB, free: 13.95 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0006911/1.154, allocations: 258 kB / 1.465 GB, free: 13.69 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002025/1.156, allocations: 0.7892 MB / 1.465 GB, free: 12.9 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.004056/1.16, allocations: 1.549 MB / 1.467 GB, free: 11.35 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.00177/1.162, allocations: 1.258 MB / 1.468 GB, free: 10.09 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005908/1.162, allocations: 377.4 kB / 1.468 GB, free: 9.711 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001087/1.163, allocations: 0.6033 MB / 1.469 GB, free: 9.105 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006096/1.164, allocations: 426.3 kB / 1.469 GB, free: 8.688 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 8.082e-05/1.164, allocations: 44 kB / 1.47 GB, free: 8.645 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003236/1.167, allocations: 1.652 MB / 1.471 GB, free: 6.988 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0002601/1.168, allocations: 195.3 kB / 1.471 GB, free: 6.797 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0003788/1.168, allocations: 302.5 kB / 1.472 GB, free: 6.5 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.00218/1.17, allocations: 1.304 MB / 1.473 GB, free: 5.191 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/1.17, allocations: 4 kB / 1.473 GB, free: 5.188 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.482e-06/1.17, allocations: 0 / 1.473 GB, free: 5.188 MB / 1.154 GB Notification: Performance of Transformations before backend: time 9.578e-06/1.17, allocations: 0 / 1.473 GB, free: 5.188 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.001911/1.172, allocations: 1.04 MB / 1.474 GB, free: 4.082 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/1.172, allocations: 8.031 kB / 1.474 GB, free: 4.074 MB / 1.154 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.064e-05/1.172, allocations: 9 kB / 1.474 GB, free: 4.066 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.457e-05/1.172, allocations: 94.39 kB / 1.474 GB, free: 3.965 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002033/1.174, allocations: 291.3 kB / 1.474 GB, free: 3.68 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000826/1.175, allocations: 469.8 kB / 1.475 GB, free: 3.184 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.178e-05/1.175, allocations: 36.94 kB / 1.475 GB, free: 3.148 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.824e-05/1.175, allocations: 44 kB / 1.475 GB, free: 3.105 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001091/1.176, allocations: 0.5507 MB / 1.475 GB, free: 2.523 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/1.176, allocations: 3.938 kB / 1.475 GB, free: 2.52 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.874e-05/1.176, allocations: 19.94 kB / 1.475 GB, free: 2.5 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.493e-05/1.176, allocations: 12 kB / 1.475 GB, free: 2.488 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001119/1.178, allocations: 459.5 kB / 1.476 GB, free: 2.035 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.002707/1.18, allocations: 2.116 MB / 1.478 GB, free: 15.79 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001032/1.181, allocations: 390.4 kB / 1.478 GB, free: 15.4 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005249/1.182, allocations: 220.7 kB / 1.478 GB, free: 15.18 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007293/1.183, allocations: 396.9 kB / 1.479 GB, free: 14.72 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000673/1.183, allocations: 296.4 kB / 1.479 GB, free: 14.42 MB / 1.17 GB Notification: Performance of pre-optimization done (n=37): time 2.154e-06/1.183, allocations: 0 / 1.479 GB, free: 14.42 MB / 1.17 GB Notification: Performance of matching and sorting (n=37): time 0.0019/1.185, allocations: 0.6877 MB / 1.48 GB, free: 13.72 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.955e-05/1.185, allocations: 59.41 kB / 1.48 GB, free: 13.65 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006105/1.186, allocations: 498.1 kB / 1.48 GB, free: 13.15 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 4.936e-05/1.186, allocations: 37.7 kB / 1.48 GB, free: 13.11 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002142/1.186, allocations: 260.5 kB / 1.481 GB, free: 12.85 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001274/1.186, allocations: 138.8 kB / 1.481 GB, free: 12.71 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001637/1.186, allocations: 86.08 kB / 1.481 GB, free: 12.62 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001849/1.187, allocations: 370.8 kB / 1.481 GB, free: 12.25 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005228/1.187, allocations: 200.8 kB / 1.481 GB, free: 12.06 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006096/1.188, allocations: 308.1 kB / 1.482 GB, free: 11.72 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001093/1.189, allocations: 0.5526 MB / 1.482 GB, free: 11.12 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/1.189, allocations: 0 / 1.482 GB, free: 11.12 MB / 1.17 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001389/1.19, allocations: 0.6523 MB / 1.483 GB, free: 10.45 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 5.37e-05/1.19, allocations: 63.34 kB / 1.483 GB, free: 10.37 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/1.19, allocations: 4 kB / 1.483 GB, free: 10.37 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/1.19, allocations: 4 kB / 1.483 GB, free: 10.36 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004771/1.191, allocations: 99.81 kB / 1.483 GB, free: 10.27 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/1.191, allocations: 7.984 kB / 1.483 GB, free: 10.26 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005322/1.191, allocations: 87.77 kB / 1.483 GB, free: 10.17 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.334e-05/1.191, allocations: 20 kB / 1.483 GB, free: 10.15 MB / 1.17 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.0002618/1.192, allocations: 198.7 kB / 1.483 GB, free: 9.949 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.502e-05/1.192, allocations: 55.62 kB / 1.483 GB, free: 9.895 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001331/1.193, allocations: 0.5306 MB / 1.484 GB, free: 9.352 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.959e-06/1.193, allocations: 4 kB / 1.484 GB, free: 9.348 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/1.193, allocations: 3.984 kB / 1.484 GB, free: 9.344 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/1.193, allocations: 0 / 1.484 GB, free: 9.344 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002503/1.196, allocations: 1.365 MB / 1.485 GB, free: 7.879 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.905e-06/1.196, allocations: 4 kB / 1.485 GB, free: 7.875 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004244/1.196, allocations: 80.33 kB / 1.485 GB, free: 7.797 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.348e-06/1.196, allocations: 12 kB / 1.485 GB, free: 7.785 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.523e-05/1.196, allocations: 11.98 kB / 1.485 GB, free: 7.773 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.959e-06/1.196, allocations: 8 kB / 1.485 GB, free: 7.766 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/1.196, allocations: 4 kB / 1.485 GB, free: 7.762 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00186/1.198, allocations: 0.9317 MB / 1.486 GB, free: 6.77 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002465/1.198, allocations: 172.7 kB / 1.486 GB, free: 6.582 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.792e-05/1.198, allocations: 16 kB / 1.486 GB, free: 6.566 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004459/1.199, allocations: 35.95 kB / 1.486 GB, free: 6.531 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001366/1.199, allocations: 51.88 kB / 1.486 GB, free: 6.48 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.343e-05/1.199, allocations: 12 kB / 1.487 GB, free: 6.469 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0004727/1.199, allocations: 350.8 kB / 1.487 GB, free: 6.129 MB / 1.17 GB Notification: Performance of sort global known variables: time 9e-08/1.199, allocations: 0 / 1.487 GB, free: 6.129 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0006585/1.2, allocations: 151.8 kB / 1.487 GB, free: 5.98 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.002456/1.202, allocations: 1.575 MB / 1.489 GB, free: 4.336 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001353/1.204, allocations: 0.5573 MB / 1.489 GB, free: 3.754 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/1.204, allocations: 4.25 kB / 1.489 GB, free: 3.75 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0006842/1.204, allocations: 279.5 kB / 1.489 GB, free: 3.477 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001385/1.206, allocations: 288 kB / 1.49 GB, free: 3.203 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008067/1.214, allocations: 5.017 MB / 1.495 GB, free: 13.93 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005366/1.214, allocations: 0.8665 MB / 1.495 GB, free: 13.04 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0004692/1.215, allocations: 128.7 kB / 1.495 GB, free: 12.91 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003061/1.215, allocations: 175.4 kB / 1.496 GB, free: 12.73 MB / 1.186 GB Notification: Performance of SimCode: time 8.41e-07/1.215, allocations: 4 kB / 1.496 GB, free: 12.73 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04128/1.256, allocations: 15.97 MB / 1.511 GB, free: 13.05 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.597/10.85, allocations: 12.05 kB / 1.511 GB, free: 13.04 MB / 1.201 GB " [Timeout remaining time 289] (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: 17.364581227011513]