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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 109.1 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.738/2.738, allocations: 476.7 MB / 0.7611 GB, free: 11.31 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001894, allocations: 71.89 kB / 1.104 GB, free: 9.258 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.777/0.7789, allocations: 168.7 MB / 1.269 GB, free: 5.16 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.2339/1.013, allocations: 182.4 MB / 1.447 GB, free: 14.09 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.007409/1.02, allocations: 4.479 MB / 1.451 GB, free: 9.602 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005918/1.021, allocations: 19.88 kB / 1.451 GB, free: 9.582 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.000736/1.022, allocations: 246.1 kB / 1.452 GB, free: 9.34 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001997/1.024, allocations: 0.7931 MB / 1.452 GB, free: 8.543 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.004302/1.028, allocations: 1.552 MB / 1.454 GB, free: 6.992 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001734/1.03, allocations: 1.258 MB / 1.455 GB, free: 5.73 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006082/1.03, allocations: 377.4 kB / 1.455 GB, free: 5.348 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001015/1.031, allocations: 0.5877 MB / 1.456 GB, free: 4.758 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006072/1.032, allocations: 446.2 kB / 1.456 GB, free: 4.32 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 7.833e-05/1.032, allocations: 44 kB / 1.456 GB, free: 4.277 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002978/1.035, allocations: 1.648 MB / 1.458 GB, free: 2.625 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0002188/1.035, allocations: 187.4 kB / 1.458 GB, free: 2.441 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0003534/1.035, allocations: 298.6 kB / 1.459 GB, free: 2.148 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002238/1.038, allocations: 1.316 MB / 1.46 GB, free: 0.8281 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/1.038, allocations: 0 / 1.46 GB, free: 0.8281 MB / 1.154 GB Notification: Performance of FrontEnd: time 9.71e-07/1.038, allocations: 0 / 1.46 GB, free: 0.8281 MB / 1.154 GB Notification: Performance of Transformations before backend: time 3.177e-05/1.038, allocations: 4 kB / 1.46 GB, free: 0.8242 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.002023/1.04, allocations: 1.04 MB / 1.461 GB, free: 15.72 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/1.04, allocations: 8.031 kB / 1.461 GB, free: 15.71 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001207/1.04, allocations: 82.52 kB / 1.461 GB, free: 15.62 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00222/1.042, allocations: 287.3 kB / 1.461 GB, free: 15.34 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001001/1.043, allocations: 473.8 kB / 1.462 GB, free: 14.84 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.588e-05/1.043, allocations: 29 kB / 1.462 GB, free: 14.82 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.438e-05/1.043, allocations: 44 kB / 1.462 GB, free: 14.77 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001131/1.044, allocations: 0.5507 MB / 1.462 GB, free: 14.19 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/1.044, allocations: 0 / 1.462 GB, free: 14.19 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.188e-05/1.044, allocations: 23.92 kB / 1.462 GB, free: 14.16 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.578e-05/1.044, allocations: 12 kB / 1.462 GB, free: 14.15 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001051/1.046, allocations: 455.6 kB / 1.463 GB, free: 13.71 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.002974/1.049, allocations: 2.12 MB / 1.465 GB, free: 11.46 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001292/1.05, allocations: 402.2 kB / 1.465 GB, free: 11.05 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004916/1.05, allocations: 212.7 kB / 1.465 GB, free: 10.84 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007564/1.051, allocations: 404.3 kB / 1.466 GB, free: 10.38 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006478/1.052, allocations: 290.9 kB / 1.466 GB, free: 10.08 MB / 1.17 GB Notification: Performance of pre-optimization done (n=37): time 2.354e-06/1.052, allocations: 0 / 1.466 GB, free: 10.08 MB / 1.17 GB Notification: Performance of matching and sorting (n=37): time 0.001896/1.054, allocations: 0.6827 MB / 1.467 GB, free: 9.391 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.31e-05/1.054, allocations: 59.41 kB / 1.467 GB, free: 9.32 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006361/1.054, allocations: 498 kB / 1.467 GB, free: 8.82 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 4.981e-05/1.054, allocations: 37.7 kB / 1.467 GB, free: 8.777 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002352/1.055, allocations: 264.4 kB / 1.467 GB, free: 8.516 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001237/1.055, allocations: 127 kB / 1.468 GB, free: 8.391 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000166/1.055, allocations: 94.08 kB / 1.468 GB, free: 8.293 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002066/1.055, allocations: 366.8 kB / 1.468 GB, free: 7.926 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000497/1.056, allocations: 192.8 kB / 1.468 GB, free: 7.738 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006846/1.056, allocations: 323.9 kB / 1.469 GB, free: 7.383 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001103/1.057, allocations: 0.5449 MB / 1.469 GB, free: 6.785 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.613e-06/1.057, allocations: 3.938 kB / 1.469 GB, free: 6.781 MB / 1.17 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001447/1.059, allocations: 0.6562 MB / 1.47 GB, free: 6.105 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 7.714e-05/1.059, allocations: 59.78 kB / 1.47 GB, free: 6.035 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/1.059, allocations: 8 kB / 1.47 GB, free: 6.027 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.752e-05/1.059, allocations: 4 kB / 1.47 GB, free: 6.023 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004893/1.059, allocations: 99.81 kB / 1.47 GB, free: 5.926 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/1.059, allocations: 4 kB / 1.47 GB, free: 5.922 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005157/1.06, allocations: 83.58 kB / 1.47 GB, free: 5.84 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.7e-05/1.06, allocations: 23.98 kB / 1.47 GB, free: 5.816 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.0002862/1.06, allocations: 200.1 kB / 1.47 GB, free: 5.613 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.213e-05/1.06, allocations: 51.67 kB / 1.47 GB, free: 5.562 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001326/1.062, allocations: 0.5409 MB / 1.471 GB, free: 5.008 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.685e-06/1.062, allocations: 7.938 kB / 1.471 GB, free: 5 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/1.062, allocations: 4 kB / 1.471 GB, free: 4.996 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/1.062, allocations: 0 / 1.471 GB, free: 4.996 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002534/1.064, allocations: 1.359 MB / 1.472 GB, free: 3.539 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/1.064, allocations: 0 / 1.472 GB, free: 3.539 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003987/1.065, allocations: 75.89 kB / 1.472 GB, free: 3.465 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/1.065, allocations: 4 kB / 1.472 GB, free: 3.461 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.674e-05/1.065, allocations: 15.98 kB / 1.472 GB, free: 3.445 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.132e-06/1.065, allocations: 4 kB / 1.472 GB, free: 3.441 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.738e-06/1.065, allocations: 11.92 kB / 1.472 GB, free: 3.43 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00176/1.066, allocations: 0.9488 MB / 1.473 GB, free: 2.418 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002738/1.067, allocations: 172.6 kB / 1.473 GB, free: 2.23 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.564e-05/1.067, allocations: 16 kB / 1.473 GB, free: 2.215 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000432/1.067, allocations: 35.95 kB / 1.473 GB, free: 2.18 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001396/1.067, allocations: 47.95 kB / 1.473 GB, free: 2.133 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.516e-05/1.067, allocations: 23.98 kB / 1.473 GB, free: 2.109 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0004996/1.068, allocations: 342.8 kB / 1.474 GB, free: 1.777 MB / 1.17 GB Notification: Performance of sort global known variables: time 9e-08/1.068, allocations: 0 / 1.474 GB, free: 1.777 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0005977/1.069, allocations: 155.8 kB / 1.474 GB, free: 1.625 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.002592/1.071, allocations: 1.578 MB / 1.475 GB, free: 15.98 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001235/1.072, allocations: 0.5569 MB / 1.476 GB, free: 15.4 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/1.072, allocations: 0 / 1.476 GB, free: 15.4 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0006825/1.073, allocations: 287.4 kB / 1.476 GB, free: 15.12 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001371/1.074, allocations: 283.6 kB / 1.477 GB, free: 14.86 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008434/1.083, allocations: 5.02 MB / 1.481 GB, free: 9.586 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006124/1.083, allocations: 0.8665 MB / 1.482 GB, free: 8.691 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0006057/1.084, allocations: 124.7 kB / 1.482 GB, free: 8.566 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003087/1.084, allocations: 179.3 kB / 1.483 GB, free: 8.391 MB / 1.186 GB Notification: Performance of SimCode: time 1.783e-06/1.084, allocations: 4 kB / 1.483 GB, free: 8.387 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04738/1.132, allocations: 15.94 MB / 1.498 GB, free: 8.734 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.238/10.37, allocations: 10.81 kB / 1.498 GB, free: 8.727 MB / 1.201 GB " [Timeout remaining time 290] (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_2/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: 16.32677429774776]