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.001788/0.001788, allocations: 116.1 kB / 17.17 MB, free: 6 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.00217/0.00217, allocations: 209.6 kB / 20.13 MB, free: 3.055 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.531/1.531, allocations: 230.6 MB / 253.5 MB, free: 15.1 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 2.977/2.977, allocations: 0.49 GB / 0.7923 GB, free: 1.293 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.001956/0.001956, allocations: 64.19 kB / 1.15 GB, free: 14.5 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.078/1.079, allocations: 176.1 MB / 1.321 GB, free: 7.621 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003497/1.083, allocations: 1.928 MB / 1.323 GB, free: 6.117 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002773/1.086, allocations: 1.756 MB / 1.325 GB, free: 4.742 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001016/1.086, allocations: 4.875 kB / 1.325 GB, free: 4.738 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0002456/1.086, allocations: 28.22 kB / 1.325 GB, free: 4.715 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0004116/1.086, allocations: 120.9 kB / 1.325 GB, free: 4.629 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004681/1.087, allocations: 173 kB / 1.325 GB, free: 4.512 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0003846/1.087, allocations: 299.7 kB / 1.326 GB, free: 4.34 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001227/1.087, allocations: 23.48 kB / 1.326 GB, free: 4.328 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001245/1.088, allocations: 99.22 kB / 1.326 GB, free: 4.277 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002579/1.088, allocations: 113.1 kB / 1.326 GB, free: 4.207 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 4.226e-05/1.088, allocations: 21.28 kB / 1.326 GB, free: 4.207 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000246/1.088, allocations: 138.3 kB / 1.326 GB, free: 4.148 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001192/1.088, allocations: 87.92 kB / 1.326 GB, free: 4.094 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001463/1.088, allocations: 128.4 kB / 1.326 GB, free: 4 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0005117/1.089, allocations: 379.2 kB / 1.327 GB, free: 3.75 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/1.089, allocations: 0 / 1.327 GB, free: 3.75 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.542e-06/1.089, allocations: 0 / 1.327 GB, free: 3.75 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.346e-05/1.089, allocations: 0 / 1.327 GB, free: 3.75 MB / 1.014 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.0009329/1.09, allocations: 0.5899 MB / 1.327 GB, free: 3.199 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/1.09, allocations: 13.58 kB / 1.327 GB, free: 3.195 MB / 1.014 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.819e-05/1.09, allocations: 5.125 kB / 1.327 GB, free: 3.195 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.146e-05/1.09, allocations: 53.8 kB / 1.327 GB, free: 3.141 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001668/1.09, allocations: 41.52 kB / 1.327 GB, free: 3.117 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003592/1.091, allocations: 287.4 kB / 1.328 GB, free: 2.832 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.429e-05/1.091, allocations: 15.22 kB / 1.328 GB, free: 2.824 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.503e-05/1.091, allocations: 19.97 kB / 1.328 GB, free: 2.816 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004423/1.091, allocations: 236 kB / 1.328 GB, free: 2.652 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/1.091, allocations: 1.469 kB / 1.328 GB, free: 2.652 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.257e-05/1.091, allocations: 9.469 kB / 1.328 GB, free: 2.645 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.914e-06/1.091, allocations: 8.344 kB / 1.328 GB, free: 2.641 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009831/1.092, allocations: 0.7492 MB / 1.329 GB, free: 2.297 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001084/1.093, allocations: 0.6317 MB / 1.329 GB, free: 1.77 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005379/1.094, allocations: 285.9 kB / 1.329 GB, free: 1.625 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001692/1.094, allocations: 105.1 kB / 1.33 GB, free: 1.57 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 4.69e-05/1.094, allocations: 17.66 kB / 1.33 GB, free: 1.562 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003901/1.094, allocations: 186.7 kB / 1.33 GB, free: 1.434 MB / 1.014 GB Notification: Performance of pre-optimization done (n=35): time 1.904e-06/1.094, allocations: 0 / 1.33 GB, free: 1.434 MB / 1.014 GB Notification: Performance of matching and sorting (n=35): time 0.0007346/1.095, allocations: 380.7 kB / 1.33 GB, free: 1.25 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.325e-05/1.095, allocations: 140.5 kB / 1.33 GB, free: 1.086 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003454/1.095, allocations: 316 kB / 1.331 GB, free: 0.8906 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.753e-05/1.095, allocations: 39.73 kB / 1.331 GB, free: 0.8477 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/1.096, allocations: 143.1 kB / 1.331 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/1.096, allocations: 117.6 kB / 1.331 GB, free: 0.6133 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/1.096, allocations: 73.72 kB / 1.331 GB, free: 0.5625 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001603/1.096, allocations: 339 kB / 1.331 GB, free: 236 kB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/1.096, allocations: 80.05 kB / 1.331 GB, free: 200 kB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002006/1.096, allocations: 129.3 kB / 1.331 GB, free: 116 kB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000353/1.097, allocations: 221.2 kB / 1.332 GB, free: 4 kB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/1.097, allocations: 0 / 1.332 GB, free: 4 kB / 1.014 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004889/1.097, allocations: 283 kB / 1.332 GB, free: 15.86 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/1.097, allocations: 9.438 kB / 1.332 GB, free: 15.86 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/1.097, allocations: 0 / 1.332 GB, free: 15.86 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/1.097, allocations: 1.375 kB / 1.332 GB, free: 15.86 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002231/1.097, allocations: 61.41 kB / 1.332 GB, free: 15.84 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/1.097, allocations: 1.375 kB / 1.332 GB, free: 15.84 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000169/1.098, allocations: 28.12 kB / 1.332 GB, free: 15.82 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.514e-05/1.098, allocations: 16.23 kB / 1.332 GB, free: 15.82 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.0001706/1.098, allocations: 162.5 kB / 1.332 GB, free: 15.67 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.776e-05/1.098, allocations: 33.5 kB / 1.332 GB, free: 15.65 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007266/1.099, allocations: 382.4 kB / 1.333 GB, free: 15.44 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/1.099, allocations: 4.031 kB / 1.333 GB, free: 15.44 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/1.099, allocations: 0 / 1.333 GB, free: 15.44 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/1.099, allocations: 9.547 kB / 1.333 GB, free: 15.43 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004077/1.099, allocations: 349.5 kB / 1.333 GB, free: 15.12 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/1.099, allocations: 3.938 kB / 1.333 GB, free: 15.12 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00018/1.099, allocations: 58.12 kB / 1.333 GB, free: 15.11 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.112e-06/1.099, allocations: 6.344 kB / 1.333 GB, free: 15.1 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.32e-05/1.099, allocations: 12.72 kB / 1.333 GB, free: 15.09 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/1.099, allocations: 1.562 kB / 1.333 GB, free: 15.09 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/1.099, allocations: 0 / 1.333 GB, free: 15.09 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005355/1.1, allocations: 331.4 kB / 1.333 GB, free: 14.9 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001617/1.1, allocations: 146.8 kB / 1.333 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.899e-05/1.1, allocations: 18.77 kB / 1.334 GB, free: 14.74 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001913/1.1, allocations: 19.55 kB / 1.334 GB, free: 14.73 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.452e-05/1.1, allocations: 28.62 kB / 1.334 GB, free: 14.71 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.288e-05/1.1, allocations: 18.61 kB / 1.334 GB, free: 14.71 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002566/1.101, allocations: 245.3 kB / 1.334 GB, free: 14.56 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/1.101, allocations: 0 / 1.334 GB, free: 14.56 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003658/1.101, allocations: 87.31 kB / 1.334 GB, free: 14.53 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.002356/1.103, allocations: 1.214 MB / 1.335 GB, free: 13.68 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000438/1.104, allocations: 220.6 kB / 1.335 GB, free: 13.6 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/1.104, allocations: 1.094 kB / 1.335 GB, free: 13.6 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002026/1.104, allocations: 124.2 kB / 1.335 GB, free: 13.55 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003232/1.104, allocations: 48.69 kB / 1.335 GB, free: 13.52 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003319/1.108, allocations: 2.578 MB / 1.338 GB, free: 11.68 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004378/1.108, allocations: 0.7719 MB / 1.339 GB, free: 10.94 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0004134/1.108, allocations: 142.3 kB / 1.339 GB, free: 10.88 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001612/1.109, allocations: 102.9 kB / 1.339 GB, free: 10.8 MB / 1.029 GB Notification: Performance of SimCode: time 7.02e-07/1.109, allocations: 0 / 1.339 GB, free: 10.8 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02879/1.137, allocations: 6.601 MB / 1.345 GB, free: 7.41 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.665/9.802, allocations: 20.52 kB / 1.345 GB, free: 7.402 MB / 1.029 GB " [Timeout remaining time 290] (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: 16.402774168003816]