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.001584/0.001584, allocations: 100.8 kB / 19.74 MB, free: 2.07 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.001772/0.001772, allocations: 214 kB / 23.04 MB, free: 4.863 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.484/1.484, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.246/3.246, allocations: 0.49 GB / 0.7959 GB, free: 35.45 MB / 0.6231 GB " [Timeout remaining time 176] 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: 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: 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.002401/0.002401, allocations: 78.61 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3845/0.3869, allocations: 176.1 MB / 1.327 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003979/0.3909, allocations: 1.879 MB / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002983/0.3939, allocations: 1.781 MB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.253e-05/0.394, allocations: 4 kB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002587/0.3942, allocations: 31.72 kB / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004365/0.3947, allocations: 123.3 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004801/0.3951, allocations: 171.7 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003797/0.3955, allocations: 297.2 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001278/0.3957, allocations: 29.28 kB / 1.331 GB, free: 12.63 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000123/0.3958, allocations: 99.75 kB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002203/0.396, allocations: 95.7 kB / 1.332 GB, free: 12.44 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.886e-05/0.396, allocations: 20 kB / 1.332 GB, free: 12.42 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002315/0.3963, allocations: 131.9 kB / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001328/0.3964, allocations: 95.73 kB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000125/0.3965, allocations: 103.4 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005164/0.397, allocations: 378.4 kB / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.397, allocations: 0 / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.383e-06/0.397, allocations: 4 kB / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.214e-06/0.3971, allocations: 0 / 1.332 GB, free: 11.72 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.0008912/0.3979, allocations: 0.5169 MB / 1.333 GB, free: 11.17 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.398, allocations: 8.031 kB / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001958/0.3982, allocations: 40.73 kB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003374/0.3985, allocations: 221 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.643e-05/0.3985, allocations: 20.38 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.347e-05/0.3986, allocations: 20.12 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005346/0.3991, allocations: 374 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.3991, allocations: 0 / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.005e-05/0.3992, allocations: 8 kB / 1.333 GB, free: 10.42 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.3992, allocations: 4 kB / 1.333 GB, free: 10.42 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009427/0.4001, allocations: 0.6904 MB / 1.334 GB, free: 9.727 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001055/0.4012, allocations: 0.5431 MB / 1.335 GB, free: 9.148 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005238/0.4017, allocations: 295.1 kB / 1.335 GB, free: 8.855 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001764/0.4019, allocations: 101.4 kB / 1.335 GB, free: 8.754 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.349e-05/0.4019, allocations: 12.27 kB / 1.335 GB, free: 8.742 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004553/0.4024, allocations: 242.7 kB / 1.335 GB, free: 8.48 MB / 1.029 GB Notification: Performance of pre-optimization done (n=35): time 1.773e-06/0.4024, allocations: 4 kB / 1.335 GB, free: 8.477 MB / 1.029 GB Notification: Performance of matching and sorting (n=35): time 0.0007272/0.4031, allocations: 374 kB / 1.336 GB, free: 8.105 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.717e-05/0.4032, allocations: 132.5 kB / 1.336 GB, free: 7.945 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003777/0.4036, allocations: 321.1 kB / 1.336 GB, free: 7.617 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.265e-05/0.4036, allocations: 33.7 kB / 1.336 GB, free: 7.578 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001201/0.4037, allocations: 140.7 kB / 1.336 GB, free: 7.434 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001084/0.4038, allocations: 126.9 kB / 1.336 GB, free: 7.309 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.4039, allocations: 69.55 kB / 1.336 GB, free: 7.234 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000187/0.4041, allocations: 342.8 kB / 1.337 GB, free: 6.891 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001511/0.4043, allocations: 79.95 kB / 1.337 GB, free: 6.812 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002533/0.4045, allocations: 208.6 kB / 1.337 GB, free: 6.578 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003547/0.4049, allocations: 213.2 kB / 1.337 GB, free: 6.367 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.4049, allocations: 0 / 1.337 GB, free: 6.367 MB / 1.029 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004688/0.4053, allocations: 281.1 kB / 1.337 GB, free: 6.086 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.4054, allocations: 7.938 kB / 1.337 GB, free: 6.078 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.4054, allocations: 4 kB / 1.337 GB, free: 6.074 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.4054, allocations: 11.88 kB / 1.337 GB, free: 6.062 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002381/0.4056, allocations: 55.97 kB / 1.338 GB, free: 6.008 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/0.4056, allocations: 4 kB / 1.338 GB, free: 6.004 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001511/0.4058, allocations: 27.88 kB / 1.338 GB, free: 5.977 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.567e-05/0.4058, allocations: 15.92 kB / 1.338 GB, free: 5.961 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.0001857/0.406, allocations: 157.8 kB / 1.338 GB, free: 5.797 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.05e-05/0.4061, allocations: 31.81 kB / 1.338 GB, free: 5.766 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000715/0.4068, allocations: 384.7 kB / 1.338 GB, free: 5.383 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.4068, allocations: 7.938 kB / 1.338 GB, free: 5.375 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.4068, allocations: 0 / 1.338 GB, free: 5.375 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.4068, allocations: 3.984 kB / 1.338 GB, free: 5.371 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000318/0.4071, allocations: 249 kB / 1.338 GB, free: 5.098 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.4071, allocations: 12 kB / 1.338 GB, free: 5.086 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001823/0.4073, allocations: 59.91 kB / 1.338 GB, free: 5.027 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.4073, allocations: 4 kB / 1.338 GB, free: 5.023 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.003e-05/0.4073, allocations: 8 kB / 1.338 GB, free: 5.016 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.4073, allocations: 0 / 1.338 GB, free: 5.016 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.4073, allocations: 7.922 kB / 1.338 GB, free: 5.008 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005335/0.4079, allocations: 330.5 kB / 1.339 GB, free: 4.668 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000127/0.408, allocations: 67.73 kB / 1.339 GB, free: 4.602 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.804e-05/0.408, allocations: 7.938 kB / 1.339 GB, free: 4.594 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001797/0.4082, allocations: 27.97 kB / 1.339 GB, free: 4.566 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.777e-05/0.4083, allocations: 31.89 kB / 1.339 GB, free: 4.535 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.135e-05/0.4083, allocations: 15.98 kB / 1.339 GB, free: 4.52 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002459/0.4086, allocations: 248.4 kB / 1.339 GB, free: 4.281 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4086, allocations: 3.938 kB / 1.339 GB, free: 4.277 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003495/0.4089, allocations: 87.81 kB / 1.339 GB, free: 4.191 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.001696/0.4106, allocations: 488 kB / 1.34 GB, free: 3.898 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000429/0.411, allocations: 219.7 kB / 1.34 GB, free: 3.684 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.411, allocations: 0 / 1.34 GB, free: 3.684 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001977/0.4112, allocations: 124.6 kB / 1.34 GB, free: 3.562 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003102/0.4115, allocations: 47.81 kB / 1.34 GB, free: 3.52 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001012/0.4126, allocations: 0.5659 MB / 1.341 GB, free: 2.918 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002178/0.4128, allocations: 162.8 kB / 1.341 GB, free: 2.734 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001287/0.4129, allocations: 55.41 kB / 1.341 GB, free: 2.68 MB / 1.029 GB Notification: Performance of SimCode: time 4.41e-07/0.4129, allocations: 0 / 1.341 GB, free: 2.68 MB / 1.029 GB Notification: Performance of Templates: time 0.008271/0.4212, allocations: 4.967 MB / 1.346 GB, free: 13.73 MB / 1.045 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/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: 12.078568652970716]