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.001657/0.001657, 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.00199/0.00199, allocations: 218.8 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.469/1.469, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.35/3.35, allocations: 0.5003 GB / 0.8061 GB, free: 26.79 MB / 0.6231 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.001912/0.001912, allocations: 75.8 kB / 1.171 GB, free: 19.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.376/0.3779, allocations: 179 MB / 1.345 GB, free: 460 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003507/0.3814, allocations: 1.93 MB / 1.347 GB, free: 14.5 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00276/0.3841, allocations: 1.851 MB / 1.349 GB, free: 12.64 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.878e-05/0.3842, allocations: 0 / 1.349 GB, free: 12.64 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002112/0.3844, allocations: 39.7 kB / 1.349 GB, free: 12.61 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.000343/0.3848, allocations: 119.4 kB / 1.349 GB, free: 12.49 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004266/0.3852, allocations: 177.4 kB / 1.349 GB, free: 12.32 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003683/0.3856, allocations: 305.2 kB / 1.35 GB, free: 12.02 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.3857, allocations: 29.06 kB / 1.35 GB, free: 11.99 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001373/0.3858, allocations: 103.7 kB / 1.35 GB, free: 11.89 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002719/0.3861, allocations: 115.6 kB / 1.35 GB, free: 11.78 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.93e-05/0.3861, allocations: 20 kB / 1.35 GB, free: 11.76 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002508/0.3864, allocations: 135.9 kB / 1.35 GB, free: 11.62 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001224/0.3865, allocations: 87.8 kB / 1.35 GB, free: 11.54 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001344/0.3866, allocations: 123.3 kB / 1.35 GB, free: 11.42 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004864/0.3871, allocations: 386.4 kB / 1.351 GB, free: 11.04 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.3871, allocations: 0 / 1.351 GB, free: 11.04 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.582e-06/0.3871, allocations: 0 / 1.351 GB, free: 11.04 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.297e-05/0.3871, allocations: 4 kB / 1.351 GB, free: 11.04 MB / 1.045 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.0008665/0.388, allocations: 0.5092 MB / 1.351 GB, free: 10.5 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.388, allocations: 12.03 kB / 1.351 GB, free: 10.48 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.763e-05/0.3881, allocations: 12.12 kB / 1.351 GB, free: 10.47 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.905e-05/0.3881, allocations: 50.73 kB / 1.351 GB, free: 10.41 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001534/0.3883, allocations: 36.73 kB / 1.351 GB, free: 10.38 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003253/0.3886, allocations: 225 kB / 1.351 GB, free: 10.13 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.351e-05/0.3886, allocations: 16.12 kB / 1.351 GB, free: 10.12 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.741e-05/0.3887, allocations: 24 kB / 1.351 GB, free: 10.09 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004206/0.3891, allocations: 241.5 kB / 1.352 GB, free: 9.84 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.3891, allocations: 0 / 1.352 GB, free: 9.84 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.656e-05/0.3891, allocations: 8 kB / 1.352 GB, free: 9.832 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.788e-06/0.3891, allocations: 4 kB / 1.352 GB, free: 9.828 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009529/0.3901, allocations: 0.749 MB / 1.352 GB, free: 9.078 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001088/0.3912, allocations: 0.6205 MB / 1.353 GB, free: 8.41 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005235/0.3917, allocations: 285.9 kB / 1.353 GB, free: 8.121 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001761/0.3919, allocations: 101.4 kB / 1.353 GB, free: 8.02 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 4.939e-05/0.3919, allocations: 20.23 kB / 1.353 GB, free: 8 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003949/0.3923, allocations: 187.4 kB / 1.354 GB, free: 7.805 MB / 1.045 GB Notification: Performance of pre-optimization done (n=35): time 1.383e-06/0.3923, allocations: 0 / 1.354 GB, free: 7.805 MB / 1.045 GB Notification: Performance of matching and sorting (n=35): time 0.0007222/0.393, allocations: 371.3 kB / 1.354 GB, free: 7.438 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001101/0.3931, allocations: 144.3 kB / 1.354 GB, free: 7.266 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003519/0.3935, allocations: 317 kB / 1.354 GB, free: 6.941 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.311e-05/0.3935, allocations: 37.7 kB / 1.354 GB, free: 6.898 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001278/0.3937, allocations: 136.7 kB / 1.355 GB, free: 6.762 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001153/0.3938, allocations: 122.9 kB / 1.355 GB, free: 6.641 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/0.3939, allocations: 65.69 kB / 1.355 GB, free: 6.57 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001706/0.3941, allocations: 338.8 kB / 1.355 GB, free: 6.23 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001529/0.3942, allocations: 79.95 kB / 1.355 GB, free: 6.152 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001979/0.3944, allocations: 131.5 kB / 1.355 GB, free: 6.012 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003555/0.3948, allocations: 217.2 kB / 1.355 GB, free: 5.797 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.3948, allocations: 0 / 1.355 GB, free: 5.797 MB / 1.045 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004628/0.3952, allocations: 289.1 kB / 1.356 GB, free: 5.508 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.3952, allocations: 9.812 kB / 1.356 GB, free: 5.5 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.3953, allocations: 0 / 1.356 GB, free: 5.5 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.3953, allocations: 4 kB / 1.356 GB, free: 5.496 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002254/0.3955, allocations: 59.91 kB / 1.356 GB, free: 5.438 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.3955, allocations: 3.984 kB / 1.356 GB, free: 5.434 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001536/0.3957, allocations: 35.77 kB / 1.356 GB, free: 5.398 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.659e-05/0.3957, allocations: 15.98 kB / 1.356 GB, free: 5.383 MB / 1.045 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.0001854/0.3959, allocations: 166.6 kB / 1.356 GB, free: 5.211 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.166e-05/0.3959, allocations: 31.83 kB / 1.356 GB, free: 5.18 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007265/0.3967, allocations: 388.7 kB / 1.356 GB, free: 4.793 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-06/0.3967, allocations: 4 kB / 1.356 GB, free: 4.789 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.3967, allocations: 0 / 1.356 GB, free: 4.789 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.3967, allocations: 3.984 kB / 1.356 GB, free: 4.785 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003571/0.397, allocations: 320.3 kB / 1.357 GB, free: 4.43 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.397, allocations: 4 kB / 1.357 GB, free: 4.426 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001775/0.3972, allocations: 59.91 kB / 1.357 GB, free: 4.367 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.3972, allocations: 3.938 kB / 1.357 GB, free: 4.363 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.222e-05/0.3972, allocations: 8 kB / 1.357 GB, free: 4.355 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.107e-06/0.3972, allocations: 4 kB / 1.357 GB, free: 4.352 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.3972, allocations: 0 / 1.357 GB, free: 4.352 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005166/0.3978, allocations: 334.4 kB / 1.357 GB, free: 4.004 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001322/0.3979, allocations: 79.62 kB / 1.357 GB, free: 3.926 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.283e-05/0.3979, allocations: 8 kB / 1.357 GB, free: 3.918 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001789/0.3981, allocations: 19.97 kB / 1.357 GB, free: 3.898 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.195e-05/0.3982, allocations: 27.95 kB / 1.357 GB, free: 3.871 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.312e-05/0.3982, allocations: 15.98 kB / 1.357 GB, free: 3.855 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0002496/0.3985, allocations: 248.4 kB / 1.358 GB, free: 3.617 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.3985, allocations: 0 / 1.358 GB, free: 3.617 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003389/0.3988, allocations: 83.86 kB / 1.358 GB, free: 3.535 MB / 1.045 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.002339/0.4011, allocations: 1.205 MB / 1.359 GB, free: 2.465 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004281/0.4016, allocations: 224.1 kB / 1.359 GB, free: 2.246 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.4016, allocations: 7.938 kB / 1.359 GB, free: 2.238 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.000195/0.4018, allocations: 119.8 kB / 1.359 GB, free: 2.121 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000297/0.4021, allocations: 43.17 kB / 1.359 GB, free: 2.082 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003282/0.4053, allocations: 2.569 MB / 1.362 GB, free: 15.44 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004093/0.4058, allocations: 0.7692 MB / 1.362 GB, free: 14.65 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.000337/0.4061, allocations: 154.9 kB / 1.363 GB, free: 14.5 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001566/0.4063, allocations: 99.39 kB / 1.363 GB, free: 14.4 MB / 1.061 GB Notification: Performance of SimCode: time 3.31e-07/0.4063, allocations: 0 / 1.363 GB, free: 14.4 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03118/0.4374, allocations: 6.852 MB / 1.369 GB, free: 7.621 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/11.97, allocations: 8.297 kB / 1.369 GB, free: 7.617 MB / 1.061 GB " [Timeout remaining time 288] (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: 19.138612483046018]