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.001252/0.001252, 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.001365/0.001365, 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.475/1.475, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.052/3.052, allocations: 0.5003 GB / 0.8026 GB, free: 6.703 MB / 0.6387 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="Buildings_latest_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.00221/0.00221, allocations: 67.89 kB / 1.165 GB, free: 476 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.045/1.047, allocations: 178.9 MB / 1.34 GB, free: 16.28 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003146/1.05, allocations: 1.924 MB / 1.342 GB, free: 14.94 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002187/1.052, allocations: 1.759 MB / 1.344 GB, free: 13.71 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.186e-05/1.052, allocations: 2.562 kB / 1.344 GB, free: 13.71 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002241/1.053, allocations: 30.95 kB / 1.344 GB, free: 13.69 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0003613/1.053, allocations: 123.9 kB / 1.344 GB, free: 13.61 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000464/1.054, allocations: 172.5 kB / 1.344 GB, free: 13.53 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003387/1.054, allocations: 300.5 kB / 1.344 GB, free: 13.39 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/1.054, allocations: 26.56 kB / 1.344 GB, free: 13.38 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001228/1.054, allocations: 94.91 kB / 1.344 GB, free: 13.35 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002436/1.054, allocations: 116.2 kB / 1.345 GB, free: 13.3 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.174e-05/1.054, allocations: 20.88 kB / 1.345 GB, free: 13.3 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002486/1.055, allocations: 138.2 kB / 1.345 GB, free: 13.25 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001117/1.055, allocations: 90.64 kB / 1.345 GB, free: 13.21 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.000116/1.055, allocations: 130.7 kB / 1.345 GB, free: 13.12 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005243/1.055, allocations: 374.9 kB / 1.345 GB, free: 12.97 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/1.055, allocations: 0 / 1.345 GB, free: 12.97 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.034e-06/1.055, allocations: 3.938 kB / 1.345 GB, free: 12.97 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.514e-06/1.055, allocations: 0.6094 kB / 1.345 GB, free: 12.97 MB / 1.061 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.0008152/1.056, allocations: 0.5907 MB / 1.346 GB, free: 12.45 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/1.056, allocations: 9.625 kB / 1.346 GB, free: 12.45 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.599e-05/1.056, allocations: 4.312 kB / 1.346 GB, free: 12.45 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.834e-05/1.056, allocations: 58.36 kB / 1.346 GB, free: 12.4 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001477/1.056, allocations: 35.89 kB / 1.346 GB, free: 12.38 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002678/1.057, allocations: 288.8 kB / 1.346 GB, free: 12.12 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.39e-05/1.057, allocations: 15 kB / 1.346 GB, free: 12.11 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.972e-05/1.057, allocations: 15 kB / 1.346 GB, free: 12.11 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003865/1.057, allocations: 241.2 kB / 1.347 GB, free: 11.98 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/1.057, allocations: 1.375 kB / 1.347 GB, free: 11.98 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.396e-05/1.057, allocations: 9.375 kB / 1.347 GB, free: 11.97 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/1.057, allocations: 5.5 kB / 1.347 GB, free: 11.97 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00109/1.058, allocations: 0.7567 MB / 1.347 GB, free: 11.87 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009903/1.059, allocations: 0.6282 MB / 1.348 GB, free: 11.46 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004975/1.06, allocations: 290.3 kB / 1.348 GB, free: 11.36 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001568/1.06, allocations: 104.7 kB / 1.348 GB, free: 11.32 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.967e-05/1.06, allocations: 16.48 kB / 1.348 GB, free: 11.31 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003597/1.06, allocations: 187.1 kB / 1.348 GB, free: 11.22 MB / 1.061 GB Notification: Performance of pre-optimization done (n=35): time 1.453e-06/1.06, allocations: 0 / 1.348 GB, free: 11.22 MB / 1.061 GB Notification: Performance of matching and sorting (n=35): time 0.0006962/1.061, allocations: 371.1 kB / 1.349 GB, free: 11.08 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.17e-05/1.061, allocations: 133.1 kB / 1.349 GB, free: 10.93 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000313/1.061, allocations: 333 kB / 1.349 GB, free: 10.75 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.671e-05/1.061, allocations: 32.81 kB / 1.349 GB, free: 10.71 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.472e-05/1.062, allocations: 137.3 kB / 1.349 GB, free: 10.59 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 8.3e-05/1.062, allocations: 123.9 kB / 1.35 GB, free: 10.5 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.958e-05/1.062, allocations: 70.16 kB / 1.35 GB, free: 10.46 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.901e-05/1.062, allocations: 339.6 kB / 1.35 GB, free: 10.13 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001426/1.062, allocations: 80.22 kB / 1.35 GB, free: 10.11 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001968/1.062, allocations: 127.6 kB / 1.35 GB, free: 10.05 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003835/1.063, allocations: 214.3 kB / 1.35 GB, free: 9.961 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/1.063, allocations: 0 / 1.35 GB, free: 9.961 MB / 1.061 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004787/1.063, allocations: 292.3 kB / 1.351 GB, free: 9.836 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/1.063, allocations: 8.922 kB / 1.351 GB, free: 9.832 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/1.063, allocations: 9.062 kB / 1.351 GB, free: 9.824 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/1.063, allocations: 1.125 kB / 1.351 GB, free: 9.824 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002439/1.063, allocations: 57.98 kB / 1.351 GB, free: 9.824 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/1.063, allocations: 9.141 kB / 1.351 GB, free: 9.816 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001516/1.063, allocations: 32.3 kB / 1.351 GB, free: 9.797 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.673e-05/1.063, allocations: 13.92 kB / 1.351 GB, free: 9.793 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.0001353/1.064, allocations: 159.4 kB / 1.351 GB, free: 9.66 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.09e-05/1.064, allocations: 33.64 kB / 1.351 GB, free: 9.641 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007123/1.064, allocations: 391 kB / 1.351 GB, free: 9.469 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.263e-06/1.064, allocations: 3.953 kB / 1.351 GB, free: 9.469 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/1.064, allocations: 1.031 kB / 1.351 GB, free: 9.469 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/1.064, allocations: 2.016 kB / 1.351 GB, free: 9.469 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003329/1.065, allocations: 347.2 kB / 1.352 GB, free: 9.211 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/1.065, allocations: 0 / 1.352 GB, free: 9.211 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001827/1.065, allocations: 62.17 kB / 1.352 GB, free: 9.203 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/1.065, allocations: 4.938 kB / 1.352 GB, free: 9.199 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.334e-05/1.065, allocations: 11.34 kB / 1.352 GB, free: 9.195 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/1.065, allocations: 1 kB / 1.352 GB, free: 9.195 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/1.065, allocations: 0 / 1.352 GB, free: 9.195 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004926/1.065, allocations: 327.5 kB / 1.352 GB, free: 9.035 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001148/1.066, allocations: 152 kB / 1.352 GB, free: 8.902 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.109e-05/1.066, allocations: 7.016 kB / 1.352 GB, free: 8.898 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001858/1.066, allocations: 30.88 kB / 1.352 GB, free: 8.887 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.193e-05/1.066, allocations: 24.55 kB / 1.352 GB, free: 8.883 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.17e-05/1.066, allocations: 16.55 kB / 1.352 GB, free: 8.879 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002082/1.066, allocations: 247.3 kB / 1.352 GB, free: 8.75 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.066, allocations: 0 / 1.352 GB, free: 8.75 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003434/1.066, allocations: 81.81 kB / 1.353 GB, free: 8.73 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.002031/1.068, allocations: 1.219 MB / 1.354 GB, free: 7.91 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004074/1.069, allocations: 217.8 kB / 1.354 GB, free: 7.855 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/1.069, allocations: 0 / 1.354 GB, free: 7.855 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000192/1.069, allocations: 127.8 kB / 1.354 GB, free: 7.816 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000306/1.069, allocations: 47.27 kB / 1.354 GB, free: 7.793 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002821/1.072, allocations: 2.57 MB / 1.357 GB, free: 6.188 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002346/1.072, allocations: 0.7666 MB / 1.357 GB, free: 5.484 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.000356/1.073, allocations: 152 kB / 1.358 GB, free: 5.441 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001607/1.073, allocations: 111.3 kB / 1.358 GB, free: 5.375 MB / 1.061 GB Notification: Performance of SimCode: time 3.4e-07/1.073, allocations: 1.25 kB / 1.358 GB, free: 5.375 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02974/1.103, allocations: 6.606 MB / 1.364 GB, free: 4.336 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.628/9.731, allocations: 11.53 kB / 1.364 GB, free: 4.332 MB / 1.061 GB " [Timeout remaining time 290] (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: 16.425232920970302]