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.001693/0.001693, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.001428/0.001428, allocations: 219.1 kB / 23.01 MB, free: 4.605 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.515/1.515, allocations: 230.6 MB / 256.8 MB, free: 8.027 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.219/3.219, allocations: 0.49 GB / 0.7958 GB, free: 33.36 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.002035/0.002035, allocations: 67.34 kB / 1.155 GB, free: 25.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3791/0.3811, allocations: 176.1 MB / 1.327 GB, free: 1.453 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003713/0.3848, allocations: 1.942 MB / 1.329 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002991/0.3878, allocations: 1.854 MB / 1.331 GB, free: 13.64 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.232e-05/0.3879, allocations: 0 / 1.331 GB, free: 13.64 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002504/0.3881, allocations: 23.8 kB / 1.331 GB, free: 13.61 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004159/0.3886, allocations: 123.4 kB / 1.331 GB, free: 13.49 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004907/0.389, allocations: 171.8 kB / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003941/0.3894, allocations: 293.2 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001337/0.3896, allocations: 29.3 kB / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001319/0.3897, allocations: 99.81 kB / 1.332 GB, free: 12.91 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002936/0.39, allocations: 115.6 kB / 1.332 GB, free: 12.8 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.04e-05/0.39, allocations: 24 kB / 1.332 GB, free: 12.77 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002478/0.3903, allocations: 127.9 kB / 1.332 GB, free: 12.65 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001197/0.3904, allocations: 99.67 kB / 1.332 GB, free: 12.55 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001385/0.3905, allocations: 127.3 kB / 1.332 GB, free: 12.43 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004951/0.391, allocations: 370.5 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.391, allocations: 3.938 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.472e-06/0.391, allocations: 0 / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.3911, allocations: 4 kB / 1.332 GB, free: 12.05 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.0009516/0.392, allocations: 0.5286 MB / 1.333 GB, free: 11.5 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.392, allocations: 8.031 kB / 1.333 GB, free: 11.49 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001685/0.3922, allocations: 36.73 kB / 1.333 GB, free: 11.45 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003463/0.3926, allocations: 229 kB / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.561e-05/0.3926, allocations: 12.38 kB / 1.333 GB, free: 11.19 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.355e-05/0.3926, allocations: 20.12 kB / 1.333 GB, free: 11.17 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004364/0.3931, allocations: 241.6 kB / 1.333 GB, free: 10.92 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.3931, allocations: 4 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.669e-05/0.3931, allocations: 8 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.3931, allocations: 4 kB / 1.333 GB, free: 10.9 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009664/0.3941, allocations: 0.7451 MB / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00111/0.3952, allocations: 0.6088 MB / 1.335 GB, free: 9.5 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000531/0.3957, allocations: 294.4 kB / 1.335 GB, free: 9.207 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001704/0.3959, allocations: 101.4 kB / 1.335 GB, free: 9.105 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.921e-05/0.3959, allocations: 28.23 kB / 1.335 GB, free: 9.078 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004105/0.3963, allocations: 171.4 kB / 1.335 GB, free: 8.898 MB / 1.029 GB Notification: Performance of pre-optimization done (n=35): time 1.703e-06/0.3964, allocations: 0 / 1.335 GB, free: 8.898 MB / 1.029 GB Notification: Performance of matching and sorting (n=35): time 0.0007336/0.3971, allocations: 386 kB / 1.336 GB, free: 8.516 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000115/0.3972, allocations: 136.5 kB / 1.336 GB, free: 8.352 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003672/0.3976, allocations: 321.1 kB / 1.336 GB, free: 8.023 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.319e-05/0.3976, allocations: 29.7 kB / 1.336 GB, free: 7.988 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/0.3977, allocations: 140.7 kB / 1.336 GB, free: 7.848 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001253/0.3978, allocations: 123 kB / 1.336 GB, free: 7.727 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001021/0.3979, allocations: 65.55 kB / 1.336 GB, free: 7.656 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000185/0.3981, allocations: 338.8 kB / 1.337 GB, free: 7.316 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001492/0.3983, allocations: 83.95 kB / 1.337 GB, free: 7.234 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002036/0.3985, allocations: 127.5 kB / 1.337 GB, free: 7.098 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003479/0.3988, allocations: 217.2 kB / 1.337 GB, free: 6.883 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3988, allocations: 0 / 1.337 GB, free: 6.883 MB / 1.029 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004873/0.3993, allocations: 281.1 kB / 1.337 GB, free: 6.602 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/0.3993, allocations: 8 kB / 1.337 GB, free: 6.594 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.3993, allocations: 3.938 kB / 1.337 GB, free: 6.59 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.3994, allocations: 3.938 kB / 1.337 GB, free: 6.586 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000225/0.3996, allocations: 67.91 kB / 1.338 GB, free: 6.52 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.799e-06/0.3996, allocations: 4 kB / 1.338 GB, free: 6.516 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001465/0.3997, allocations: 25.28 kB / 1.338 GB, free: 6.492 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.448e-05/0.3998, allocations: 11.98 kB / 1.338 GB, free: 6.48 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.0001922/0.4, allocations: 161.8 kB / 1.338 GB, free: 6.312 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.999e-05/0.4, allocations: 35.75 kB / 1.338 GB, free: 6.277 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007146/0.4007, allocations: 388.7 kB / 1.338 GB, free: 5.887 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.4007, allocations: 4 kB / 1.338 GB, free: 5.883 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.4007, allocations: 0 / 1.338 GB, free: 5.883 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.134e-06/0.4008, allocations: 3.984 kB / 1.338 GB, free: 5.879 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000384/0.4011, allocations: 328.3 kB / 1.338 GB, free: 5.516 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.4011, allocations: 7.938 kB / 1.338 GB, free: 5.508 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001741/0.4013, allocations: 55.97 kB / 1.339 GB, free: 5.453 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.4013, allocations: 4 kB / 1.339 GB, free: 5.449 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.149e-05/0.4013, allocations: 11.94 kB / 1.339 GB, free: 5.438 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.4013, allocations: 0 / 1.339 GB, free: 5.438 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/0.4013, allocations: 7.922 kB / 1.339 GB, free: 5.43 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005082/0.4019, allocations: 326.5 kB / 1.339 GB, free: 5.094 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001466/0.402, allocations: 67.77 kB / 1.339 GB, free: 5.027 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.864e-05/0.4021, allocations: 19.92 kB / 1.339 GB, free: 5.008 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001692/0.4022, allocations: 19.98 kB / 1.339 GB, free: 4.988 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.168e-05/0.4023, allocations: 23.95 kB / 1.339 GB, free: 4.965 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.724e-05/0.4023, allocations: 15.98 kB / 1.339 GB, free: 4.949 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002465/0.4026, allocations: 244.4 kB / 1.339 GB, free: 4.715 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4026, allocations: 0 / 1.339 GB, free: 4.715 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003351/0.4029, allocations: 87.81 kB / 1.339 GB, free: 4.629 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.001632/0.4045, allocations: 473.6 kB / 1.34 GB, free: 4.324 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004371/0.405, allocations: 215.7 kB / 1.34 GB, free: 4.113 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.405, allocations: 0 / 1.34 GB, free: 4.113 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002027/0.4052, allocations: 128.6 kB / 1.34 GB, free: 3.988 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003069/0.4055, allocations: 45.23 kB / 1.34 GB, free: 3.945 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001026/0.4065, allocations: 0.5659 MB / 1.341 GB, free: 3.344 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004291/0.4069, allocations: 0.7691 MB / 1.341 GB, free: 2.547 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001412/0.4071, allocations: 51.41 kB / 1.342 GB, free: 2.496 MB / 1.029 GB Notification: Performance of SimCode: time 4.91e-07/0.4071, allocations: 3.938 kB / 1.342 GB, free: 2.492 MB / 1.029 GB Notification: Performance of Templates: time 0.008692/0.4158, allocations: 4.909 MB / 1.346 GB, free: 13.6 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: 11.991375910991337]