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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001335/0.001335, allocations: 110 kB / 18.94 MB, free: 2.953 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 187.6 kB / 22.23 MB, free: 5.137 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.595/1.595, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.322/3.322, allocations: 496 MB / 0.7835 GB, free: 33.46 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cheTemDryBul.TDryBul|cheTemDewPoi.TDewPoi",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cheTemDryBul.TDryBul|cheTemDewPoi.TDewPoi",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002279/0.002279, allocations: 72.47 kB / 1.138 GB, free: 33.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3827/0.385, allocations: 173.6 MB / 1.307 GB, free: 1.789 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.004249/0.3893, allocations: 1.909 MB / 1.309 GB, free: 15.87 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003362/0.3926, allocations: 1.691 MB / 1.311 GB, free: 14.17 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001627/0.3928, allocations: 7.938 kB / 1.311 GB, free: 14.16 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0002954/0.3931, allocations: 27.78 kB / 1.311 GB, free: 14.14 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0004493/0.3935, allocations: 67.56 kB / 1.311 GB, free: 14.07 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.000677/0.3942, allocations: 180.4 kB / 1.311 GB, free: 13.9 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0004753/0.3947, allocations: 281.4 kB / 1.311 GB, free: 13.62 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001514/0.3948, allocations: 37.05 kB / 1.311 GB, free: 13.59 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002024/0.3951, allocations: 91.77 kB / 1.311 GB, free: 13.5 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003458/0.3954, allocations: 107.7 kB / 1.312 GB, free: 13.39 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 6.21e-05/0.3955, allocations: 23.94 kB / 1.312 GB, free: 13.37 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002526/0.3957, allocations: 83.97 kB / 1.312 GB, free: 13.29 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001404/0.3959, allocations: 87.8 kB / 1.312 GB, free: 13.2 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002437/0.3961, allocations: 123.3 kB / 1.312 GB, free: 13.08 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000634/0.3967, allocations: 326.6 kB / 1.312 GB, free: 12.76 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 1.027e-05/0.3967, allocations: 4 kB / 1.312 GB, free: 12.75 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.253e-06/0.3967, allocations: 0 / 1.312 GB, free: 12.75 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.197e-05/0.3968, allocations: 7.938 kB / 1.312 GB, free: 12.75 MB / 1.014 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.0009967/0.3977, allocations: 497.6 kB / 1.313 GB, free: 12.23 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.3978, allocations: 8.922 kB / 1.313 GB, free: 12.22 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002234/0.398, allocations: 40.73 kB / 1.313 GB, free: 12.18 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003609/0.3984, allocations: 217 kB / 1.313 GB, free: 11.95 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.301e-05/0.3984, allocations: 12.38 kB / 1.313 GB, free: 11.94 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.506e-05/0.3984, allocations: 20.12 kB / 1.313 GB, free: 11.92 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004764/0.3989, allocations: 249.5 kB / 1.313 GB, free: 11.66 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.3989, allocations: 0 / 1.313 GB, free: 11.66 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.237e-05/0.399, allocations: 8 kB / 1.313 GB, free: 11.65 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.307e-06/0.399, allocations: 4 kB / 1.313 GB, free: 11.64 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001061/0.4, allocations: 0.749 MB / 1.314 GB, free: 10.89 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001538/0.4016, allocations: 0.6165 MB / 1.315 GB, free: 10.23 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005735/0.4021, allocations: 286.7 kB / 1.315 GB, free: 9.941 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001971/0.4023, allocations: 97.94 kB / 1.315 GB, free: 9.844 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 5.531e-05/0.4024, allocations: 28.23 kB / 1.315 GB, free: 9.816 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004653/0.4029, allocations: 176.3 kB / 1.315 GB, free: 9.633 MB / 1.014 GB Notification: Performance of pre-optimization done (n=35): time 5.62e-06/0.4029, allocations: 11.98 kB / 1.315 GB, free: 9.621 MB / 1.014 GB Notification: Performance of matching and sorting (n=35): time 0.0008296/0.4037, allocations: 386.1 kB / 1.315 GB, free: 9.238 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001327/0.4038, allocations: 132.5 kB / 1.316 GB, free: 9.078 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004137/0.4042, allocations: 304.9 kB / 1.316 GB, free: 8.77 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.333e-05/0.4043, allocations: 37.7 kB / 1.316 GB, free: 8.727 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001322/0.4044, allocations: 132.7 kB / 1.316 GB, free: 8.594 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.000143/0.4046, allocations: 119 kB / 1.316 GB, free: 8.477 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001311/0.4047, allocations: 65.69 kB / 1.316 GB, free: 8.406 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002011/0.4049, allocations: 342.8 kB / 1.317 GB, free: 8.062 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001804/0.4051, allocations: 83.89 kB / 1.317 GB, free: 7.98 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002232/0.4053, allocations: 127.4 kB / 1.317 GB, free: 7.844 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003829/0.4057, allocations: 210.3 kB / 1.317 GB, free: 7.637 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.4057, allocations: 0 / 1.317 GB, free: 7.637 MB / 1.014 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005295/0.4062, allocations: 281.3 kB / 1.317 GB, free: 7.355 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.4063, allocations: 7.984 kB / 1.317 GB, free: 7.348 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.4063, allocations: 3.938 kB / 1.317 GB, free: 7.344 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.4063, allocations: 4 kB / 1.317 GB, free: 7.34 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002532/0.4065, allocations: 67.91 kB / 1.317 GB, free: 7.273 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.4065, allocations: 0 / 1.317 GB, free: 7.273 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001784/0.4067, allocations: 27.83 kB / 1.317 GB, free: 7.246 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.193e-05/0.4068, allocations: 16 kB / 1.317 GB, free: 7.23 MB / 1.014 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.0002059/0.407, allocations: 166.2 kB / 1.318 GB, free: 7.059 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.029e-05/0.407, allocations: 27.86 kB / 1.318 GB, free: 7.031 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000865/0.4079, allocations: 400.8 kB / 1.318 GB, free: 6.629 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/0.4079, allocations: 4 kB / 1.318 GB, free: 6.625 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/0.4079, allocations: 0 / 1.318 GB, free: 6.625 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.4079, allocations: 4 kB / 1.318 GB, free: 6.621 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003972/0.4083, allocations: 312.4 kB / 1.318 GB, free: 6.273 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.4083, allocations: 0 / 1.318 GB, free: 6.273 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001935/0.4085, allocations: 59.91 kB / 1.318 GB, free: 6.215 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.4085, allocations: 0 / 1.318 GB, free: 6.215 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.384e-05/0.4085, allocations: 11.94 kB / 1.318 GB, free: 6.203 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.558e-06/0.4085, allocations: 4 kB / 1.318 GB, free: 6.199 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.4085, allocations: 0 / 1.318 GB, free: 6.199 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005657/0.4091, allocations: 330.2 kB / 1.319 GB, free: 5.859 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001531/0.4093, allocations: 67.73 kB / 1.319 GB, free: 5.793 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.127e-05/0.4093, allocations: 15.94 kB / 1.319 GB, free: 5.777 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002003/0.4095, allocations: 23.91 kB / 1.319 GB, free: 5.754 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.034e-05/0.4096, allocations: 27.89 kB / 1.319 GB, free: 5.727 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-05/0.4096, allocations: 19.98 kB / 1.319 GB, free: 5.707 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002646/0.4099, allocations: 232.5 kB / 1.319 GB, free: 5.48 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.4099, allocations: 0 / 1.319 GB, free: 5.48 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003608/0.4103, allocations: 71.88 kB / 1.319 GB, free: 5.41 MB / 1.014 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.001664/0.4119, allocations: 410.6 kB / 1.319 GB, free: 5.152 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004797/0.4124, allocations: 223.5 kB / 1.32 GB, free: 4.934 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.4124, allocations: 0 / 1.32 GB, free: 4.934 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002185/0.4126, allocations: 120.8 kB / 1.32 GB, free: 4.816 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003306/0.413, allocations: 44.36 kB / 1.32 GB, free: 4.773 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/0.414, allocations: 0.5295 MB / 1.32 GB, free: 4.219 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005045/0.4145, allocations: 0.7692 MB / 1.321 GB, free: 3.422 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0003533/0.4149, allocations: 142.9 kB / 1.321 GB, free: 3.285 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001001/0.415, allocations: 43.42 kB / 1.321 GB, free: 3.242 MB / 1.014 GB Notification: Performance of SimCode: time 3.91e-07/0.415, allocations: 4 kB / 1.321 GB, free: 3.238 MB / 1.014 GB Notification: Performance of Templates: time 0.009538/0.4245, allocations: 3.607 MB / 1.325 GB, free: 15.66 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) [Timeout 400] 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/jenkins/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: 9.624235415831208]