Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001557/0.001557, 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.001839/0.001839, allocations: 209.5 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.475/1.475, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.87/2.87, allocations: 476.7 MB / 0.7679 GB, free: 9.352 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="Buildings_11_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.003051/0.003051, allocations: 67.84 kB / 1.113 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.092/1.095, allocations: 169.9 MB / 1.279 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.004039/1.099, allocations: 1.931 MB / 1.281 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003165/1.102, allocations: 1.757 MB / 1.283 GB, free: 9.168 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001155/1.102, allocations: 1.656 kB / 1.283 GB, free: 9.168 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002958/1.103, allocations: 38.75 kB / 1.283 GB, free: 9.141 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0005033/1.103, allocations: 116.5 kB / 1.283 GB, free: 9.074 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005633/1.104, allocations: 171.5 kB / 1.283 GB, free: 8.988 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0004484/1.104, allocations: 297 kB / 1.283 GB, free: 8.855 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001325/1.104, allocations: 21.97 kB / 1.283 GB, free: 8.848 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001456/1.105, allocations: 103.6 kB / 1.283 GB, free: 8.805 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000303/1.105, allocations: 114.7 kB / 1.283 GB, free: 8.754 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.473e-05/1.105, allocations: 20.62 kB / 1.283 GB, free: 8.754 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002908/1.105, allocations: 136 kB / 1.284 GB, free: 8.715 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001245/1.105, allocations: 83.11 kB / 1.284 GB, free: 8.68 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001579/1.105, allocations: 124.9 kB / 1.284 GB, free: 8.598 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006215/1.106, allocations: 387.7 kB / 1.284 GB, free: 8.434 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/1.106, allocations: 4 kB / 1.284 GB, free: 8.43 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.715e-06/1.106, allocations: 1.469 kB / 1.284 GB, free: 8.43 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.854e-06/1.106, allocations: 0 / 1.284 GB, free: 8.43 MB / 0.9981 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.001026/1.107, allocations: 0.5857 MB / 1.285 GB, free: 7.918 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/1.107, allocations: 9.531 kB / 1.285 GB, free: 7.918 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.122e-05/1.107, allocations: 13.42 kB / 1.285 GB, free: 7.91 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.951e-05/1.107, allocations: 53.78 kB / 1.285 GB, free: 7.859 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001929/1.107, allocations: 35.73 kB / 1.285 GB, free: 7.844 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003743/1.108, allocations: 284.3 kB / 1.285 GB, free: 7.586 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.682e-05/1.108, allocations: 15.61 kB / 1.285 GB, free: 7.578 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.231e-05/1.108, allocations: 20.16 kB / 1.285 GB, free: 7.57 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004486/1.108, allocations: 236.6 kB / 1.285 GB, free: 7.449 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/1.108, allocations: 0 / 1.285 GB, free: 7.449 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.13e-05/1.108, allocations: 10.62 kB / 1.285 GB, free: 7.441 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/1.108, allocations: 4.031 kB / 1.285 GB, free: 7.441 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001155/1.11, allocations: 0.7535 MB / 1.286 GB, free: 7.344 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001179/1.111, allocations: 0.6338 MB / 1.287 GB, free: 6.934 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005555/1.111, allocations: 292.8 kB / 1.287 GB, free: 6.824 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001793/1.111, allocations: 111.1 kB / 1.287 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.239e-05/1.111, allocations: 19.31 kB / 1.287 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004255/1.112, allocations: 186.7 kB / 1.287 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=35): time 3.527e-06/1.112, allocations: 3.984 kB / 1.287 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of matching and sorting (n=35): time 0.0007878/1.113, allocations: 370.4 kB / 1.288 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001238/1.113, allocations: 143.1 kB / 1.288 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003898/1.113, allocations: 320.1 kB / 1.288 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.885e-05/1.113, allocations: 36.36 kB / 1.288 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001162/1.113, allocations: 142.5 kB / 1.288 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001358/1.114, allocations: 124.3 kB / 1.288 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001135/1.114, allocations: 65.42 kB / 1.288 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001793/1.114, allocations: 338.7 kB / 1.289 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000163/1.114, allocations: 84.78 kB / 1.289 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002304/1.114, allocations: 130.4 kB / 1.289 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003789/1.115, allocations: 215.1 kB / 1.289 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/1.115, allocations: 0 / 1.289 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005089/1.115, allocations: 287.7 kB / 1.289 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/1.115, allocations: 9.25 kB / 1.289 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/1.115, allocations: 0 / 1.289 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/1.115, allocations: 2.109 kB / 1.289 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002403/1.115, allocations: 61.31 kB / 1.289 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/1.115, allocations: 2.219 kB / 1.289 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001718/1.116, allocations: 31.45 kB / 1.29 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.734e-05/1.116, allocations: 9.906 kB / 1.29 GB, free: 5.258 MB / 0.9981 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.0002107/1.116, allocations: 167.2 kB / 1.29 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.259e-05/1.116, allocations: 34.38 kB / 1.29 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007987/1.117, allocations: 383 kB / 1.29 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.261e-06/1.117, allocations: 4.688 kB / 1.29 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/1.117, allocations: 0 / 1.29 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/1.117, allocations: 1.781 kB / 1.29 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004412/1.117, allocations: 350.8 kB / 1.29 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/1.117, allocations: 0 / 1.29 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001873/1.117, allocations: 57.8 kB / 1.29 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.478e-06/1.117, allocations: 10.83 kB / 1.29 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.479e-05/1.117, allocations: 9.391 kB / 1.291 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/1.117, allocations: 5.859 kB / 1.291 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/1.117, allocations: 1.312 kB / 1.291 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005788/1.118, allocations: 330.2 kB / 1.291 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001757/1.118, allocations: 148.7 kB / 1.291 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.781e-05/1.118, allocations: 11.05 kB / 1.291 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001974/1.118, allocations: 22.61 kB / 1.291 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.155e-05/1.118, allocations: 24.91 kB / 1.291 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-05/1.118, allocations: 16.58 kB / 1.291 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002903/1.119, allocations: 247 kB / 1.291 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/1.119, allocations: 0 / 1.291 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003936/1.119, allocations: 84.67 kB / 1.291 GB, free: 4.184 MB / 0.9981 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.002584/1.122, allocations: 1.216 MB / 1.293 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004929/1.122, allocations: 222.2 kB / 1.293 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/1.122, allocations: 1.281 kB / 1.293 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002293/1.122, allocations: 122.5 kB / 1.293 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003285/1.123, allocations: 41.16 kB / 1.293 GB, free: 3.258 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003686/1.126, allocations: 2.591 MB / 1.295 GB, free: 1.633 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000502/1.127, allocations: 0.7677 MB / 1.296 GB, free: 0.9258 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003943/1.127, allocations: 156.7 kB / 1.296 GB, free: 0.8828 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001881/1.128, allocations: 103.7 kB / 1.296 GB, free: 0.8203 MB / 0.9981 GB Notification: Performance of SimCode: time 6.22e-07/1.128, allocations: 0 / 1.296 GB, free: 0.8203 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03115/1.159, allocations: 6.586 MB / 1.303 GB, free: 15.8 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.763/9.922, allocations: 24.17 kB / 1.303 GB, free: 15.79 MB / 1.014 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature_fmu --startTime=0 --stopTime=8.64e+06 --stepSize=3456 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 17.127905517991167]