Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.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.001693/0.001693, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002324/0.002324, allocations: 217 kB / 22.25 MB, free: 5.082 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.504/1.504, allocations: 230.6 MB / 256 MB, free: 7.992 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.231/3.231, allocations: 0.505 GB / 0.8101 GB, free: 22.03 MB / 0.6231 GB " [Timeout remaining time 176] 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.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",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.002064/0.002064, allocations: 68.66 kB / 1.177 GB, free: 17.06 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3409/0.343, allocations: 180.2 MB / 1.353 GB, free: 8.43 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003645/0.3466, allocations: 1.94 MB / 1.355 GB, free: 6.477 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002971/0.3496, allocations: 1.847 MB / 1.357 GB, free: 4.621 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001204/0.3497, allocations: 3.938 kB / 1.357 GB, free: 4.617 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002553/0.3499, allocations: 31.72 kB / 1.357 GB, free: 4.586 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0004669/0.3504, allocations: 123.4 kB / 1.357 GB, free: 4.465 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005404/0.351, allocations: 173.9 kB / 1.357 GB, free: 4.297 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004476/0.3514, allocations: 297.2 kB / 1.357 GB, free: 4.008 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001394/0.3515, allocations: 25.28 kB / 1.357 GB, free: 3.984 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001929/0.3517, allocations: 103.8 kB / 1.357 GB, free: 3.883 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000326/0.3521, allocations: 111.7 kB / 1.357 GB, free: 3.773 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.561e-05/0.3521, allocations: 23.94 kB / 1.357 GB, free: 3.75 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003074/0.3524, allocations: 127.9 kB / 1.358 GB, free: 3.625 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.000125/0.3525, allocations: 95.8 kB / 1.358 GB, free: 3.531 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001413/0.3527, allocations: 127.2 kB / 1.358 GB, free: 3.406 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0005704/0.3533, allocations: 382.4 kB / 1.358 GB, free: 3.031 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.3533, allocations: 0 / 1.358 GB, free: 3.031 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3533, allocations: 0 / 1.358 GB, free: 3.031 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.879e-06/0.3533, allocations: 0 / 1.358 GB, free: 3.031 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0009248/0.3542, allocations: 0.5131 MB / 1.359 GB, free: 2.484 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.3542, allocations: 12.03 kB / 1.359 GB, free: 2.473 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.602e-05/0.3543, allocations: 54.73 kB / 1.359 GB, free: 2.41 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001649/0.3545, allocations: 36.75 kB / 1.359 GB, free: 2.375 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003329/0.3548, allocations: 225 kB / 1.359 GB, free: 2.133 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.2e-05/0.3548, allocations: 20.36 kB / 1.359 GB, free: 2.113 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.495e-05/0.3549, allocations: 23.94 kB / 1.359 GB, free: 2.09 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004158/0.3553, allocations: 241.6 kB / 1.359 GB, free: 1.836 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.3553, allocations: 0 / 1.359 GB, free: 1.836 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.621e-05/0.3553, allocations: 8 kB / 1.359 GB, free: 1.828 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.3553, allocations: 8 kB / 1.359 GB, free: 1.82 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009808/0.3563, allocations: 0.749 MB / 1.36 GB, free: 1.07 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001245/0.3576, allocations: 0.6204 MB / 1.361 GB, free: 412 kB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004952/0.3581, allocations: 285.9 kB / 1.361 GB, free: 116 kB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001627/0.3582, allocations: 109.4 kB / 1.361 GB, free: 4 kB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 5.975e-05/0.3583, allocations: 16.34 kB / 1.361 GB, free: 15.98 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003675/0.3586, allocations: 179.4 kB / 1.361 GB, free: 15.8 MB / 1.061 GB Notification: Performance of pre-optimization done (n=35): time 1.613e-06/0.3586, allocations: 0 / 1.361 GB, free: 15.8 MB / 1.061 GB Notification: Performance of matching and sorting (n=35): time 0.0007006/0.3593, allocations: 374.5 kB / 1.361 GB, free: 15.43 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.301e-05/0.3594, allocations: 132.5 kB / 1.362 GB, free: 15.27 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003498/0.3598, allocations: 329 kB / 1.362 GB, free: 14.94 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.366e-05/0.3598, allocations: 37.7 kB / 1.362 GB, free: 14.89 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.183e-05/0.3599, allocations: 128.7 kB / 1.362 GB, free: 14.77 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001073/0.36, allocations: 130.9 kB / 1.362 GB, free: 14.64 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.571e-05/0.3601, allocations: 69.55 kB / 1.362 GB, free: 14.56 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.3603, allocations: 338.8 kB / 1.363 GB, free: 14.22 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001441/0.3604, allocations: 79.95 kB / 1.363 GB, free: 14.14 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000198/0.3606, allocations: 135.5 kB / 1.363 GB, free: 14 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003312/0.3609, allocations: 205.2 kB / 1.363 GB, free: 13.8 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.3609, allocations: 4 kB / 1.363 GB, free: 13.79 MB / 1.061 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004586/0.3614, allocations: 289.1 kB / 1.363 GB, free: 13.5 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.3614, allocations: 7.938 kB / 1.363 GB, free: 13.5 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.3614, allocations: 3.984 kB / 1.363 GB, free: 13.49 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.3614, allocations: 4 kB / 1.363 GB, free: 13.49 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002239/0.3617, allocations: 59.91 kB / 1.363 GB, free: 13.43 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.3617, allocations: 0 / 1.363 GB, free: 13.43 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000158/0.3618, allocations: 31.83 kB / 1.363 GB, free: 13.4 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.308e-05/0.3618, allocations: 12 kB / 1.363 GB, free: 13.39 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * 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.0001669/0.362, allocations: 166.4 kB / 1.364 GB, free: 13.21 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.889e-05/0.3621, allocations: 31.73 kB / 1.364 GB, free: 13.18 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006826/0.3627, allocations: 384.7 kB / 1.364 GB, free: 12.8 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/0.3628, allocations: 7.984 kB / 1.364 GB, free: 12.79 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.3628, allocations: 8 kB / 1.364 GB, free: 12.79 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.3628, allocations: 0 / 1.364 GB, free: 12.79 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000394/0.3632, allocations: 316.3 kB / 1.364 GB, free: 12.43 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.3632, allocations: 0 / 1.364 GB, free: 12.43 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001939/0.3634, allocations: 63.91 kB / 1.364 GB, free: 12.37 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.723e-06/0.3634, allocations: 7.938 kB / 1.364 GB, free: 12.36 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.174e-05/0.3634, allocations: 11.98 kB / 1.364 GB, free: 12.35 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.3634, allocations: 0 / 1.364 GB, free: 12.35 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3634, allocations: 4 kB / 1.364 GB, free: 12.35 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005026/0.3639, allocations: 326.4 kB / 1.365 GB, free: 12.01 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001413/0.364, allocations: 75.67 kB / 1.365 GB, free: 11.93 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.33e-05/0.3641, allocations: 7.938 kB / 1.365 GB, free: 11.93 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001836/0.3643, allocations: 29.72 kB / 1.365 GB, free: 11.9 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.119e-05/0.3643, allocations: 31.92 kB / 1.365 GB, free: 11.87 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.799e-05/0.3643, allocations: 12 kB / 1.365 GB, free: 11.86 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002348/0.3646, allocations: 248.4 kB / 1.365 GB, free: 11.61 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3646, allocations: 0 / 1.365 GB, free: 11.61 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003363/0.3649, allocations: 83.86 kB / 1.365 GB, free: 11.53 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.002323/0.3672, allocations: 1.211 MB / 1.366 GB, free: 10.46 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004395/0.3677, allocations: 224.1 kB / 1.367 GB, free: 10.24 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3677, allocations: 0 / 1.367 GB, free: 10.24 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002047/0.3679, allocations: 123.8 kB / 1.367 GB, free: 10.12 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003142/0.3682, allocations: 49.28 kB / 1.367 GB, free: 10.07 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003198/0.3714, allocations: 2.561 MB / 1.369 GB, free: 7.434 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003916/0.3718, allocations: 0.7692 MB / 1.37 GB, free: 6.637 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0003586/0.3722, allocations: 146.9 kB / 1.37 GB, free: 6.492 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001615/0.3723, allocations: 103.3 kB / 1.37 GB, free: 6.391 MB / 1.061 GB Notification: Performance of SimCode: time 5.51e-07/0.3723, allocations: 0 / 1.37 GB, free: 6.391 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03832/0.4106, allocations: 6.82 MB / 1.377 GB, free: 15.64 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.74/12.15, allocations: 11.86 kB / 1.377 GB, free: 15.62 MB / 1.076 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature_fmu --startTime=0 --stopTime=8.64e+06 --stepSize=3456 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.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: 18.976779154036194]