Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001287/0.001287, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.00144/0.00144, allocations: 218.9 kB / 23.04 MB, free: 5.074 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.482/1.482, allocations: 230.6 MB / 256.8 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.229/3.229, allocations: 0.49 GB / 0.7959 GB, free: 33.32 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",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.002149/0.002149, allocations: 69.42 kB / 1.155 GB, free: 25.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3493/0.3514, allocations: 176.1 MB / 1.327 GB, free: 1.969 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003537/0.355, allocations: 1.926 MB / 1.329 GB, free: 36 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002783/0.3577, allocations: 1.858 MB / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.01e-05/0.3578, allocations: 0 / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002242/0.3581, allocations: 31.72 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003584/0.3584, allocations: 131.4 kB / 1.331 GB, free: 14.01 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004557/0.3589, allocations: 162.8 kB / 1.331 GB, free: 13.85 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003887/0.3593, allocations: 301.2 kB / 1.331 GB, free: 13.55 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001341/0.3594, allocations: 21.3 kB / 1.331 GB, free: 13.53 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001355/0.3595, allocations: 95.81 kB / 1.331 GB, free: 13.44 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002848/0.3598, allocations: 115.6 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.322e-05/0.3599, allocations: 20 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002586/0.3601, allocations: 139.9 kB / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001174/0.3602, allocations: 91.75 kB / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001417/0.3604, allocations: 127.3 kB / 1.332 GB, free: 12.95 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005491/0.3609, allocations: 382.4 kB / 1.332 GB, free: 12.58 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3609, allocations: 0 / 1.332 GB, free: 12.58 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.774e-06/0.3609, allocations: 0 / 1.332 GB, free: 12.58 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.3609, allocations: 0 / 1.332 GB, free: 12.58 MB / 1.029 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.0009157/0.3618, allocations: 0.5208 MB / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/0.3619, allocations: 12.03 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.7e-05/0.3619, allocations: 8.188 kB / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.688e-05/0.362, allocations: 54.73 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001922/0.3622, allocations: 36.75 kB / 1.333 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003289/0.3625, allocations: 221 kB / 1.333 GB, free: 11.67 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.159e-05/0.3625, allocations: 16.12 kB / 1.333 GB, free: 11.66 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.412e-05/0.3626, allocations: 20 kB / 1.333 GB, free: 11.64 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004421/0.363, allocations: 241.5 kB / 1.333 GB, free: 11.38 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.363, allocations: 4 kB / 1.333 GB, free: 11.38 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.135e-05/0.3631, allocations: 12 kB / 1.333 GB, free: 11.37 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.186e-06/0.3631, allocations: 4 kB / 1.333 GB, free: 11.36 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009931/0.3641, allocations: 0.749 MB / 1.334 GB, free: 10.61 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001088/0.3652, allocations: 0.6088 MB / 1.334 GB, free: 9.957 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005179/0.3657, allocations: 293.9 kB / 1.335 GB, free: 9.664 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001768/0.3658, allocations: 101.4 kB / 1.335 GB, free: 9.562 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.578e-05/0.3659, allocations: 24.23 kB / 1.335 GB, free: 9.539 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004664/0.3664, allocations: 183.4 kB / 1.335 GB, free: 9.348 MB / 1.029 GB Notification: Performance of pre-optimization done (n=35): time 1.783e-06/0.3664, allocations: 0 / 1.335 GB, free: 9.348 MB / 1.029 GB Notification: Performance of matching and sorting (n=35): time 0.000813/0.3672, allocations: 374.1 kB / 1.335 GB, free: 8.977 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001312/0.3673, allocations: 140.5 kB / 1.335 GB, free: 8.809 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003807/0.3677, allocations: 321.1 kB / 1.336 GB, free: 8.48 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.892e-05/0.3677, allocations: 37.64 kB / 1.336 GB, free: 8.438 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001211/0.3679, allocations: 136.7 kB / 1.336 GB, free: 8.301 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001246/0.368, allocations: 119 kB / 1.336 GB, free: 8.184 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001184/0.3681, allocations: 65.55 kB / 1.336 GB, free: 8.113 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001812/0.3683, allocations: 338.8 kB / 1.336 GB, free: 7.773 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001541/0.3684, allocations: 83.94 kB / 1.336 GB, free: 7.691 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002038/0.3686, allocations: 135.5 kB / 1.337 GB, free: 7.547 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003424/0.369, allocations: 205.2 kB / 1.337 GB, free: 7.344 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.369, allocations: 4 kB / 1.337 GB, free: 7.34 MB / 1.029 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004851/0.3695, allocations: 293 kB / 1.337 GB, free: 7.047 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.3695, allocations: 9.188 kB / 1.337 GB, free: 7.039 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.3695, allocations: 0 / 1.337 GB, free: 7.039 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.3695, allocations: 4.047 kB / 1.337 GB, free: 7.035 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002482/0.3698, allocations: 67.89 kB / 1.337 GB, free: 6.969 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.3698, allocations: 0 / 1.337 GB, free: 6.969 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001636/0.3699, allocations: 27.88 kB / 1.337 GB, free: 6.941 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.719e-05/0.37, allocations: 12 kB / 1.337 GB, free: 6.93 MB / 1.029 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.0001831/0.3702, allocations: 167.9 kB / 1.337 GB, free: 6.758 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.385e-05/0.3702, allocations: 35.75 kB / 1.337 GB, free: 6.723 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007112/0.3709, allocations: 384.7 kB / 1.338 GB, free: 6.336 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.3709, allocations: 4 kB / 1.338 GB, free: 6.332 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.3709, allocations: 4 kB / 1.338 GB, free: 6.328 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.3709, allocations: 0 / 1.338 GB, free: 6.328 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003592/0.3713, allocations: 320.3 kB / 1.338 GB, free: 5.973 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3713, allocations: 0 / 1.338 GB, free: 5.973 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002027/0.3715, allocations: 67.91 kB / 1.338 GB, free: 5.906 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.3715, allocations: 3.938 kB / 1.338 GB, free: 5.902 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.19e-05/0.3715, allocations: 11.98 kB / 1.338 GB, free: 5.891 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.928e-06/0.3715, allocations: 3.984 kB / 1.338 GB, free: 5.887 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3715, allocations: 4 kB / 1.338 GB, free: 5.883 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005049/0.372, allocations: 330.4 kB / 1.338 GB, free: 5.543 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001355/0.3722, allocations: 71.67 kB / 1.339 GB, free: 5.473 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.284e-05/0.3722, allocations: 4 kB / 1.339 GB, free: 5.469 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000194/0.3724, allocations: 27.97 kB / 1.339 GB, free: 5.441 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.676e-05/0.3725, allocations: 27.95 kB / 1.339 GB, free: 5.414 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.879e-05/0.3725, allocations: 8 kB / 1.339 GB, free: 5.406 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002519/0.3728, allocations: 252.4 kB / 1.339 GB, free: 5.16 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3728, allocations: 0 / 1.339 GB, free: 5.16 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000341/0.3731, allocations: 83.83 kB / 1.339 GB, free: 5.078 MB / 1.029 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.002301/0.3754, allocations: 1.218 MB / 1.34 GB, free: 3.996 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004255/0.3758, allocations: 228.1 kB / 1.34 GB, free: 3.773 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3758, allocations: 0 / 1.34 GB, free: 3.773 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001976/0.376, allocations: 119.8 kB / 1.34 GB, free: 3.656 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003033/0.3763, allocations: 53.03 kB / 1.34 GB, free: 3.609 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003235/0.3796, allocations: 2.565 MB / 1.343 GB, free: 0.9648 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000395/0.38, allocations: 0.7692 MB / 1.344 GB, free: 172 kB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003349/0.3803, allocations: 142.9 kB / 1.344 GB, free: 32 kB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001716/0.3805, allocations: 103.4 kB / 1.344 GB, free: 15.93 MB / 1.045 GB Notification: Performance of SimCode: time 5.51e-07/0.3805, allocations: 0 / 1.344 GB, free: 15.93 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03113/0.4116, allocations: 6.858 MB / 1.351 GB, free: 9.164 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/11.95, allocations: 14 kB / 1.351 GB, free: 9.156 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature_fmu --startTime=0 --stopTime=8.64e+06 --stepSize=3456 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.89021889999276]