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.001308/0.001308, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001562/0.001562, allocations: 214.6 kB / 22.24 MB, free: 5.262 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.46/1.46, allocations: 230.6 MB / 256 MB, free: 7.773 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 3.133/3.133, allocations: 0.4892 GB / 0.7943 GB, free: 35.56 MB / 0.6231 GB " [Timeout remaining time 177] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="Buildings_12_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.002268/0.002268, allocations: 71.03 kB / 1.153 GB, free: 25.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3781/0.3803, allocations: 176.1 MB / 1.325 GB, free: 2.32 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003523/0.3839, allocations: 1.884 MB / 1.327 GB, free: 440 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002842/0.3867, allocations: 1.788 MB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.013e-05/0.3868, allocations: 0 / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002199/0.387, allocations: 27.78 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004305/0.3874, allocations: 127.3 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004973/0.3879, allocations: 174 kB / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003765/0.3883, allocations: 297.3 kB / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.3884, allocations: 25.28 kB / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001553/0.3886, allocations: 103.7 kB / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002223/0.3888, allocations: 95.7 kB / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.926e-05/0.3889, allocations: 20 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002736/0.3891, allocations: 131.9 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000118/0.3892, allocations: 95.67 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001214/0.3894, allocations: 103.4 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005165/0.3899, allocations: 382.5 kB / 1.33 GB, free: 13.08 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.3899, allocations: 0 / 1.33 GB, free: 13.08 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.343e-06/0.3899, allocations: 0 / 1.33 GB, free: 13.08 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.035e-06/0.3899, allocations: 4 kB / 1.33 GB, free: 13.08 MB / 1.029 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.000881/0.3908, allocations: 0.5169 MB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.3908, allocations: 12.03 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.423e-05/0.3909, allocations: 50.73 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000168/0.3911, allocations: 36.75 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003605/0.3914, allocations: 225 kB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/0.3914, allocations: 12.38 kB / 1.331 GB, free: 12.17 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.423e-05/0.3915, allocations: 23.94 kB / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004907/0.392, allocations: 366.1 kB / 1.331 GB, free: 11.74 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.392, allocations: 0 / 1.331 GB, free: 11.74 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.86e-05/0.392, allocations: 16 kB / 1.331 GB, free: 11.72 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.392, allocations: 4 kB / 1.331 GB, free: 11.72 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009509/0.393, allocations: 0.706 MB / 1.332 GB, free: 11.01 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001105/0.3941, allocations: 0.5621 MB / 1.333 GB, free: 10.4 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005343/0.3946, allocations: 298.5 kB / 1.333 GB, free: 10.11 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001766/0.3948, allocations: 97.38 kB / 1.333 GB, free: 10.01 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.454e-05/0.3948, allocations: 16.27 kB / 1.333 GB, free: 9.992 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004261/0.3953, allocations: 238.8 kB / 1.333 GB, free: 9.734 MB / 1.029 GB Notification: Performance of pre-optimization done (n=35): time 1.954e-06/0.3953, allocations: 0 / 1.333 GB, free: 9.734 MB / 1.029 GB Notification: Performance of matching and sorting (n=35): time 0.0007505/0.396, allocations: 374 kB / 1.334 GB, free: 9.363 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.094e-05/0.3961, allocations: 140.5 kB / 1.334 GB, free: 9.195 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004366/0.3965, allocations: 317.1 kB / 1.334 GB, free: 8.871 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.09e-05/0.3966, allocations: 37.7 kB / 1.334 GB, free: 8.828 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001285/0.3967, allocations: 140.7 kB / 1.334 GB, free: 8.684 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001094/0.3968, allocations: 111 kB / 1.334 GB, free: 8.574 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001087/0.3969, allocations: 69.55 kB / 1.334 GB, free: 8.5 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001715/0.3971, allocations: 338.8 kB / 1.335 GB, free: 8.16 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001676/0.3973, allocations: 83.95 kB / 1.335 GB, free: 8.078 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002552/0.3975, allocations: 212.6 kB / 1.335 GB, free: 7.84 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003603/0.3979, allocations: 213.2 kB / 1.335 GB, free: 7.629 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.3979, allocations: 0 / 1.335 GB, free: 7.629 MB / 1.029 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005055/0.3984, allocations: 285.1 kB / 1.335 GB, free: 7.344 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/0.3984, allocations: 15.88 kB / 1.335 GB, free: 7.328 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.3984, allocations: 0 / 1.335 GB, free: 7.328 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.3984, allocations: 0 / 1.335 GB, free: 7.328 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002415/0.3987, allocations: 63.91 kB / 1.336 GB, free: 7.266 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/0.3987, allocations: 7.938 kB / 1.336 GB, free: 7.258 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001656/0.3988, allocations: 23.88 kB / 1.336 GB, free: 7.234 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.756e-05/0.3989, allocations: 12 kB / 1.336 GB, free: 7.223 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.0002167/0.3991, allocations: 161.8 kB / 1.336 GB, free: 7.055 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.728e-05/0.3992, allocations: 39.73 kB / 1.336 GB, free: 7.016 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007335/0.3999, allocations: 384.7 kB / 1.336 GB, free: 6.633 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/0.3999, allocations: 4 kB / 1.336 GB, free: 6.629 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.3999, allocations: 0 / 1.336 GB, free: 6.629 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/0.3999, allocations: 3.938 kB / 1.336 GB, free: 6.625 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003726/0.4003, allocations: 300.4 kB / 1.336 GB, free: 6.289 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-06/0.4003, allocations: 0 / 1.336 GB, free: 6.289 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001809/0.4005, allocations: 47.98 kB / 1.336 GB, free: 6.242 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.05e-05/0.4005, allocations: 11.92 kB / 1.337 GB, free: 6.23 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.195e-05/0.4005, allocations: 8 kB / 1.337 GB, free: 6.223 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.4005, allocations: 7.938 kB / 1.337 GB, free: 6.215 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.4005, allocations: 0 / 1.337 GB, free: 6.215 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005392/0.4011, allocations: 334.5 kB / 1.337 GB, free: 5.871 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001573/0.4012, allocations: 67.73 kB / 1.337 GB, free: 5.805 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.976e-05/0.4013, allocations: 11.94 kB / 1.337 GB, free: 5.793 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001852/0.4014, allocations: 23.97 kB / 1.337 GB, free: 5.77 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.482e-05/0.4015, allocations: 23.95 kB / 1.337 GB, free: 5.746 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.46e-05/0.4015, allocations: 15.98 kB / 1.337 GB, free: 5.73 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002534/0.4018, allocations: 244.4 kB / 1.337 GB, free: 5.496 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.4018, allocations: 4 kB / 1.337 GB, free: 5.492 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003513/0.4022, allocations: 83.83 kB / 1.337 GB, free: 5.41 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.00262/0.4048, allocations: 1.251 MB / 1.339 GB, free: 4.32 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004416/0.4052, allocations: 224.1 kB / 1.339 GB, free: 4.102 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.4052, allocations: 0 / 1.339 GB, free: 4.102 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002408/0.4055, allocations: 123.8 kB / 1.339 GB, free: 3.98 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003273/0.4058, allocations: 52.25 kB / 1.339 GB, free: 3.934 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00371/0.4095, allocations: 2.557 MB / 1.341 GB, free: 1.297 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001852/0.4097, allocations: 162.9 kB / 1.342 GB, free: 1.113 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003573/0.41, allocations: 138.9 kB / 1.342 GB, free: 0.9805 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001737/0.4102, allocations: 103.4 kB / 1.342 GB, free: 0.8828 MB / 1.029 GB Notification: Performance of SimCode: time 7.11e-07/0.4102, allocations: 0 / 1.342 GB, free: 0.8828 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03869/0.4489, allocations: 7.208 MB / 1.349 GB, free: 9.742 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.9, allocations: 6.312 kB / 1.349 GB, free: 9.738 MB / 1.045 GB " [Timeout remaining time 288] (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: 18.58997231302783]