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.001673/0.001673, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002286/0.002286, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.535/1.535, allocations: 230.6 MB / 256 MB, free: 7.785 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.741/2.741, allocations: 476 MB / 0.7699 GB, free: 4.742 MB / 0.6231 GB " [Timeout remaining time 177] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="Buildings_11_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.002099/0.002099, allocations: 63.77 kB / 1.117 GB, free: 40.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3454/0.3475, allocations: 170 MB / 1.283 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.005474/0.353, allocations: 1.89 MB / 1.284 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004358/0.3574, allocations: 1.784 MB / 1.286 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001127/0.3575, allocations: 4 kB / 1.286 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002832/0.3578, allocations: 31.77 kB / 1.286 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005939/0.3584, allocations: 115.4 kB / 1.286 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006924/0.3591, allocations: 173.8 kB / 1.286 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005536/0.3596, allocations: 301.3 kB / 1.287 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001339/0.3597, allocations: 25.3 kB / 1.287 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003059/0.3601, allocations: 95.77 kB / 1.287 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003112/0.3604, allocations: 103.6 kB / 1.287 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.632e-05/0.3604, allocations: 20 kB / 1.287 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003709/0.3608, allocations: 123.9 kB / 1.287 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001604/0.361, allocations: 95.73 kB / 1.287 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001897/0.3612, allocations: 103.4 kB / 1.287 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007624/0.3619, allocations: 375.9 kB / 1.288 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.3619, allocations: 4 kB / 1.288 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.322e-06/0.3619, allocations: 0 / 1.288 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.408e-06/0.3619, allocations: 4 kB / 1.288 GB, free: 7.035 MB / 0.9825 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.001306/0.3633, allocations: 0.5131 MB / 1.288 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.745e-05/0.3633, allocations: 8.031 kB / 1.288 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.13e-05/0.3634, allocations: 54.72 kB / 1.288 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002432/0.3636, allocations: 32.75 kB / 1.288 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000491/0.3641, allocations: 225.1 kB / 1.288 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.492e-05/0.3642, allocations: 16.31 kB / 1.288 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.955e-05/0.3642, allocations: 23.94 kB / 1.289 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006962/0.3649, allocations: 361.4 kB / 1.289 GB, free: 5.699 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.3649, allocations: 0 / 1.289 GB, free: 5.699 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.978e-05/0.365, allocations: 19.94 kB / 1.289 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.295e-05/0.365, allocations: 4 kB / 1.289 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001446/0.3664, allocations: 0.6943 MB / 1.29 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001495/0.3679, allocations: 0.5777 MB / 1.29 GB, free: 4.355 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005217/0.3684, allocations: 294.5 kB / 1.29 GB, free: 4.059 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001789/0.3686, allocations: 97.38 kB / 1.29 GB, free: 3.961 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 5.065e-05/0.3687, allocations: 20.25 kB / 1.291 GB, free: 3.941 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004969/0.3692, allocations: 234.8 kB / 1.291 GB, free: 3.688 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=35): time 3.186e-06/0.3692, allocations: 0 / 1.291 GB, free: 3.688 MB / 0.9825 GB Notification: Performance of matching and sorting (n=35): time 0.001138/0.3703, allocations: 379.5 kB / 1.291 GB, free: 3.312 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001695/0.3705, allocations: 132.5 kB / 1.291 GB, free: 3.152 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004831/0.371, allocations: 321.1 kB / 1.292 GB, free: 2.832 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.779e-05/0.371, allocations: 37.7 kB / 1.292 GB, free: 2.789 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.3711, allocations: 128.7 kB / 1.292 GB, free: 2.66 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001178/0.3712, allocations: 130.9 kB / 1.292 GB, free: 2.531 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.946e-05/0.3713, allocations: 65.69 kB / 1.292 GB, free: 2.461 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002264/0.3715, allocations: 338.8 kB / 1.292 GB, free: 2.121 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001493/0.3717, allocations: 91.75 kB / 1.292 GB, free: 2.031 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000244/0.3719, allocations: 209.5 kB / 1.292 GB, free: 1.797 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000348/0.3723, allocations: 216.6 kB / 1.293 GB, free: 1.582 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3723, allocations: 0 / 1.293 GB, free: 1.582 MB / 0.9825 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004824/0.3728, allocations: 281.7 kB / 1.293 GB, free: 1.301 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.3728, allocations: 11.94 kB / 1.293 GB, free: 1.289 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.3728, allocations: 0 / 1.293 GB, free: 1.289 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.3728, allocations: 0 / 1.293 GB, free: 1.289 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002312/0.373, allocations: 59.91 kB / 1.293 GB, free: 1.23 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.3731, allocations: 4 kB / 1.293 GB, free: 1.227 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001664/0.3732, allocations: 31.88 kB / 1.293 GB, free: 1.195 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.684e-05/0.3732, allocations: 11.98 kB / 1.293 GB, free: 1.184 MB / 0.9825 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.0001716/0.3734, allocations: 162.3 kB / 1.293 GB, free: 1.016 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.603e-05/0.3735, allocations: 35.75 kB / 1.293 GB, free: 0.9805 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007526/0.3742, allocations: 380.7 kB / 1.294 GB, free: 0.6016 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.3742, allocations: 4 kB / 1.294 GB, free: 0.5977 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.3742, allocations: 0 / 1.294 GB, free: 0.5977 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.3743, allocations: 3.984 kB / 1.294 GB, free: 0.5938 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003484/0.3746, allocations: 292.4 kB / 1.294 GB, free: 272 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3746, allocations: 3.938 kB / 1.294 GB, free: 268 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000171/0.3748, allocations: 59.91 kB / 1.294 GB, free: 208 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/0.3748, allocations: 7.938 kB / 1.294 GB, free: 200 kB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.499e-05/0.3748, allocations: 11.98 kB / 1.294 GB, free: 188 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.3748, allocations: 4 kB / 1.294 GB, free: 184 kB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3748, allocations: 0 / 1.294 GB, free: 184 kB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000527/0.3753, allocations: 330.4 kB / 1.294 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001532/0.3755, allocations: 71.72 kB / 1.294 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.974e-05/0.3755, allocations: 15.94 kB / 1.294 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001739/0.3757, allocations: 15.98 kB / 1.294 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.386e-05/0.3758, allocations: 27.94 kB / 1.294 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.248e-05/0.3758, allocations: 16 kB / 1.294 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000249/0.3761, allocations: 244.4 kB / 1.295 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3761, allocations: 4 kB / 1.295 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003558/0.3764, allocations: 87.81 kB / 1.295 GB, free: 15.36 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.002578/0.379, allocations: 1.246 MB / 1.296 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004473/0.3794, allocations: 220.2 kB / 1.296 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.3794, allocations: 8 kB / 1.296 GB, free: 14.06 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002144/0.3797, allocations: 120.3 kB / 1.296 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003174/0.38, allocations: 46.47 kB / 1.296 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003546/0.3835, allocations: 2.571 MB / 1.299 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000173/0.3837, allocations: 163.4 kB / 1.299 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003468/0.384, allocations: 142.9 kB / 1.299 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002233/0.3843, allocations: 99.39 kB / 1.299 GB, free: 10.83 MB / 0.9981 GB Notification: Performance of SimCode: time 6.72e-07/0.3843, allocations: 0 / 1.299 GB, free: 10.83 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0406/0.4249, allocations: 7.208 MB / 1.306 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.29/12.72, allocations: 9.359 kB / 1.306 GB, free: 3.707 MB / 0.9981 GB " [Timeout remaining time 286] (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: 19.52105243690312]