Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.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.001937/0.001937, allocations: 103.6 kB / 18.94 MB, free: 2.688 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.002638/0.002638, allocations: 213.6 kB / 22.24 MB, free: 5.25 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.56/1.56, allocations: 230.6 MB / 256 MB, free: 7.809 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.629/3.629, allocations: 0.5107 GB / 0.8158 GB, free: 17.83 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: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|locTim.locTim|locTim.cloTim",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|locTim.locTim|locTim.cloTim",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") [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.002022/0.002022, allocations: 72.47 kB / 1.186 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.379/0.3811, allocations: 181.9 MB / 1.364 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.00287/0.3839, allocations: 1.494 MB / 1.365 GB, free: 12.07 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0009876/0.3849, allocations: 479.9 kB / 1.366 GB, free: 11.6 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.207e-05/0.385, allocations: 0 / 1.366 GB, free: 11.6 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.625e-05/0.385, allocations: 3.938 kB / 1.366 GB, free: 11.6 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002683/0.3853, allocations: 27.22 kB / 1.366 GB, free: 11.57 MB / 1.061 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/BoundaryConditions/WeatherData/BaseClasses/PartialConvertTime.mo:31:3-34:11:writable] Warning: initial() may only be used as a when condition (when initial() or when {..., initial(), ...}), but got condition '(not initial() and locTim.canRepeatWeatherFile) and locTim.modTimAux > pre(locTim.tNext)'. Notification: Performance of NFTyping.typeClassSections: time 0.0001038/0.3854, allocations: 23.97 kB / 1.366 GB, free: 11.55 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000112/0.3855, allocations: 55.78 kB / 1.366 GB, free: 11.5 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.3856, allocations: 15.88 kB / 1.366 GB, free: 11.48 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001719/0.3858, allocations: 23.98 kB / 1.366 GB, free: 11.46 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.807e-05/0.3859, allocations: 31.83 kB / 1.366 GB, free: 11.43 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.797e-05/0.3859, allocations: 11.94 kB / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.442e-05/0.3859, allocations: 4 kB / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.42e-05/0.3859, allocations: 15.92 kB / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.261e-05/0.386, allocations: 15.94 kB / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001101/0.3861, allocations: 47.8 kB / 1.366 GB, free: 11.33 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.3861, allocations: 0 / 1.366 GB, free: 11.33 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.243e-06/0.3861, allocations: 0 / 1.366 GB, free: 11.33 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.3861, allocations: 0 / 1.366 GB, free: 11.33 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006135/0.3867, allocations: 292.1 kB / 1.366 GB, free: 11.02 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.3867, allocations: 8.031 kB / 1.366 GB, free: 11.01 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.767e-05/0.3868, allocations: 8.891 kB / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001524/0.3869, allocations: 118.5 kB / 1.366 GB, free: 10.86 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/0.387, allocations: 4.375 kB / 1.366 GB, free: 10.86 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.385e-05/0.387, allocations: 4.375 kB / 1.366 GB, free: 10.86 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001358/0.3871, allocations: 57.98 kB / 1.366 GB, free: 10.79 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.3871, allocations: 3.938 kB / 1.366 GB, free: 10.79 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.3871, allocations: 4 kB / 1.367 GB, free: 10.79 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.3871, allocations: 0 / 1.367 GB, free: 10.79 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.701e-05/0.3872, allocations: 23.98 kB / 1.367 GB, free: 10.76 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004412/0.3876, allocations: 224.5 kB / 1.367 GB, free: 10.51 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001338/0.3878, allocations: 50.5 kB / 1.367 GB, free: 10.45 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.1e-05/0.3878, allocations: 28.91 kB / 1.367 GB, free: 10.42 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.103e-05/0.3878, allocations: 0 / 1.367 GB, free: 10.42 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001742/0.388, allocations: 71.38 kB / 1.367 GB, free: 10.34 MB / 1.061 GB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.388, allocations: 4 kB / 1.367 GB, free: 10.34 MB / 1.061 GB Notification: Performance of matching and sorting (n=6): time 0.000214/0.3882, allocations: 85.66 kB / 1.367 GB, free: 10.25 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.96e-05/0.3883, allocations: 55.34 kB / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.3884, allocations: 121.8 kB / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.3884, allocations: 29.7 kB / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.192e-05/0.3884, allocations: 84.14 kB / 1.367 GB, free: 9.93 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.636e-05/0.3885, allocations: 19.84 kB / 1.367 GB, free: 9.91 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.669e-05/0.3885, allocations: 21.7 kB / 1.367 GB, free: 9.883 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.3887, allocations: 318.8 kB / 1.368 GB, free: 9.562 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.861e-05/0.3887, allocations: 16 kB / 1.368 GB, free: 9.547 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.207e-05/0.3887, allocations: 12 kB / 1.368 GB, free: 9.535 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.524e-05/0.3888, allocations: 45.23 kB / 1.368 GB, free: 9.488 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.3888, allocations: 0 / 1.368 GB, free: 9.488 MB / 1.061 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002048/0.389, allocations: 85.64 kB / 1.368 GB, free: 9.398 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.389, allocations: 6.344 kB / 1.368 GB, free: 9.395 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.389, allocations: 3.938 kB / 1.368 GB, free: 9.391 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.389, allocations: 4 kB / 1.368 GB, free: 9.387 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.291e-05/0.3891, allocations: 11.94 kB / 1.368 GB, free: 9.375 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.3891, allocations: 4 kB / 1.368 GB, free: 9.371 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.729e-05/0.3892, allocations: 3.984 kB / 1.368 GB, free: 9.367 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.3892, allocations: 4 kB / 1.368 GB, free: 9.363 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (locTim.k,$PRE.locTim.k,locTim.tNext,$PRE.locTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 9.293e-05/0.3893, allocations: 117.8 kB / 1.368 GB, free: 9.238 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.263e-05/0.3893, allocations: 3.953 kB / 1.368 GB, free: 9.234 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.953e-05/0.3893, allocations: 16.38 kB / 1.368 GB, free: 9.215 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.3893, allocations: 0 / 1.368 GB, free: 9.215 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.3893, allocations: 3.984 kB / 1.368 GB, free: 9.211 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.3893, allocations: 0 / 1.368 GB, free: 9.211 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001192/0.3895, allocations: 113.2 kB / 1.368 GB, free: 9.07 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.3895, allocations: 256 / 1.368 GB, free: 9.07 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.137e-05/0.3895, allocations: 11.94 kB / 1.368 GB, free: 9.059 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.91e-06/0.3895, allocations: 4 kB / 1.368 GB, free: 9.055 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.575e-06/0.3895, allocations: 0 / 1.368 GB, free: 9.055 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3895, allocations: 0 / 1.368 GB, free: 9.055 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3895, allocations: 0 / 1.368 GB, free: 9.055 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000159/0.3897, allocations: 105 kB / 1.368 GB, free: 8.934 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.662e-05/0.3897, allocations: 7.953 kB / 1.368 GB, free: 8.926 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.837e-05/0.3897, allocations: 4 kB / 1.368 GB, free: 8.922 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.509e-05/0.3898, allocations: 7.984 kB / 1.368 GB, free: 8.914 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.059e-05/0.3898, allocations: 4 kB / 1.368 GB, free: 8.91 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-06/0.3898, allocations: 3.984 kB / 1.368 GB, free: 8.906 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.59e-05/0.3899, allocations: 87.28 kB / 1.368 GB, free: 8.82 MB / 1.061 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3899, allocations: 0 / 1.368 GB, free: 8.82 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001899/0.3901, allocations: 12 kB / 1.368 GB, free: 8.809 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,locTim.tNext,locTim.k) * Number of discrete states: 2 (locTim.k,locTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001431/0.3902, allocations: 111.2 kB / 1.368 GB, free: 8.691 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001249/0.3903, allocations: 31.98 kB / 1.368 GB, free: 8.66 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.3903, allocations: 4 kB / 1.368 GB, free: 8.656 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 4.461e-05/0.3904, allocations: 16 kB / 1.368 GB, free: 8.641 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001695/0.3905, allocations: 11.94 kB / 1.368 GB, free: 8.629 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003549/0.3909, allocations: 146.2 kB / 1.369 GB, free: 8.461 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.153e-05/0.391, allocations: 63.34 kB / 1.369 GB, free: 8.379 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.998e-05/0.391, allocations: 7.984 kB / 1.369 GB, free: 8.371 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.105e-05/0.391, allocations: 19.38 kB / 1.369 GB, free: 8.352 MB / 1.061 GB Notification: Performance of SimCode: time 3.3e-07/0.391, allocations: 0 / 1.369 GB, free: 8.352 MB / 1.061 GB Notification: Performance of Templates: time 0.003086/0.3941, allocations: 0.5988 MB / 1.369 GB, free: 7.766 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.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.642446836456656]