Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.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.001908/0.001908, 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.002421/0.002421, allocations: 212.8 kB / 22.25 MB, free: 5.258 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.521/1.521, allocations: 230.6 MB / 256 MB, free: 7.785 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.413/3.413, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 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.SolarTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5001,variableFilter="time|solTim.solTim|solTim.locTim",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5001,variableFilter="time|solTim.solTim|solTim.locTim",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime") [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.00212/0.00212, allocations: 62.62 kB / 1.186 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3637/0.3659, allocations: 181.9 MB / 1.364 GB, free: 13.55 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002904/0.3688, allocations: 1.607 MB / 1.365 GB, free: 11.93 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001066/0.3698, allocations: 0.5659 MB / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.279e-05/0.3699, allocations: 0 / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.675e-05/0.3699, allocations: 7.875 kB / 1.366 GB, free: 11.35 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002644/0.3702, allocations: 39.77 kB / 1.366 GB, free: 11.31 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)'. [/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 eqnTim.canRepeatWeatherFile) and eqnTim.modTimAux > pre(eqnTim.tNext)'. Notification: Performance of NFTyping.typeClassSections: time 0.0001935/0.3704, allocations: 59.88 kB / 1.366 GB, free: 11.25 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001826/0.3706, allocations: 123.5 kB / 1.366 GB, free: 11.13 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001748/0.3707, allocations: 16.17 kB / 1.366 GB, free: 11.11 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002271/0.371, allocations: 51.84 kB / 1.366 GB, free: 11.06 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001563/0.3711, allocations: 51.8 kB / 1.366 GB, free: 11.01 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.402e-05/0.3711, allocations: 12 kB / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 9.85e-05/0.3712, allocations: 16 kB / 1.366 GB, free: 10.98 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.862e-05/0.3713, allocations: 35.83 kB / 1.366 GB, free: 10.95 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 7.711e-05/0.3714, allocations: 39.86 kB / 1.366 GB, free: 10.91 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002394/0.3716, allocations: 115.5 kB / 1.367 GB, free: 10.79 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.3716, allocations: 0 / 1.367 GB, free: 10.79 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.813e-06/0.3716, allocations: 0 / 1.367 GB, free: 10.79 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.4e-05/0.3716, allocations: 4 kB / 1.367 GB, free: 10.79 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009014/0.3725, allocations: 338 kB / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.3726, allocations: 8.031 kB / 1.367 GB, free: 10.42 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001973/0.3728, allocations: 24.83 kB / 1.367 GB, free: 10.4 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000149/0.3729, allocations: 130.4 kB / 1.367 GB, free: 10.25 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.3729, allocations: 4.375 kB / 1.367 GB, free: 10.24 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.08e-05/0.373, allocations: 16.36 kB / 1.367 GB, free: 10.23 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002151/0.3732, allocations: 101.8 kB / 1.367 GB, free: 10.12 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.3732, allocations: 0 / 1.367 GB, free: 10.12 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.655e-05/0.3732, allocations: 3.984 kB / 1.367 GB, free: 10.12 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.3732, allocations: 4 kB / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001208/0.3733, allocations: 47.97 kB / 1.367 GB, free: 10.07 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006199/0.374, allocations: 296.2 kB / 1.367 GB, free: 9.746 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003153/0.3743, allocations: 126.7 kB / 1.368 GB, free: 9.613 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.661e-05/0.3744, allocations: 44.78 kB / 1.368 GB, free: 9.566 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.132e-05/0.3744, allocations: 4 kB / 1.368 GB, free: 9.562 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002761/0.3747, allocations: 115.3 kB / 1.368 GB, free: 9.438 MB / 1.061 GB Notification: Performance of pre-optimization done (n=14): time 1.453e-06/0.3747, allocations: 0 / 1.368 GB, free: 9.438 MB / 1.061 GB Notification: Performance of matching and sorting (n=14): time 0.0003951/0.3751, allocations: 171.5 kB / 1.368 GB, free: 9.266 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.284e-05/0.3751, allocations: 59.41 kB / 1.368 GB, free: 9.195 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.3752, allocations: 125.8 kB / 1.368 GB, free: 9.062 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.281e-05/0.3753, allocations: 29.7 kB / 1.368 GB, free: 9.027 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.429e-05/0.3753, allocations: 92.09 kB / 1.368 GB, free: 8.934 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.927e-05/0.3754, allocations: 43.69 kB / 1.368 GB, free: 8.891 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.066e-05/0.3754, allocations: 33.69 kB / 1.368 GB, free: 8.852 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.3756, allocations: 322.8 kB / 1.369 GB, free: 8.527 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.763e-05/0.3757, allocations: 35.98 kB / 1.369 GB, free: 8.492 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.464e-05/0.3757, allocations: 42 kB / 1.369 GB, free: 8.453 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001377/0.3759, allocations: 78.89 kB / 1.369 GB, free: 8.375 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.3759, allocations: 0 / 1.369 GB, free: 8.375 MB / 1.061 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002328/0.3761, allocations: 141.5 kB / 1.369 GB, free: 8.23 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.3761, allocations: 8 kB / 1.369 GB, free: 8.223 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.3761, allocations: 0 / 1.369 GB, free: 8.223 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.3761, allocations: 0 / 1.369 GB, free: 8.223 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.3763, allocations: 23.98 kB / 1.369 GB, free: 8.199 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.3763, allocations: 3.984 kB / 1.369 GB, free: 8.195 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001077/0.3764, allocations: 19.88 kB / 1.369 GB, free: 8.176 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.3764, allocations: 7.938 kB / 1.369 GB, free: 8.168 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: 10 (eqnTim.k,$PRE.eqnTim.k,eqnTim.tNext,$PRE.eqnTim.tNext,locTim.k,$PRE.locTim.k,locTim.tNext,$PRE.locTim.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0001188/0.3765, allocations: 130.8 kB / 1.369 GB, free: 8.031 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.175e-05/0.3765, allocations: 11.94 kB / 1.369 GB, free: 8.02 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002897/0.3768, allocations: 159.9 kB / 1.369 GB, free: 7.855 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.3768, allocations: 4 kB / 1.369 GB, free: 7.852 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.3768, allocations: 3.938 kB / 1.369 GB, free: 7.848 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.3768, allocations: 0 / 1.369 GB, free: 7.848 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005261/0.3773, allocations: 401.8 kB / 1.37 GB, free: 7.418 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.3774, allocations: 0 / 1.37 GB, free: 7.418 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.917e-05/0.3774, allocations: 19.98 kB / 1.37 GB, free: 7.398 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3774, allocations: 0 / 1.37 GB, free: 7.398 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.3775, allocations: 4 kB / 1.37 GB, free: 7.395 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.3775, allocations: 3.938 kB / 1.37 GB, free: 7.391 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3775, allocations: 8 kB / 1.37 GB, free: 7.383 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002884/0.3778, allocations: 245.8 kB / 1.37 GB, free: 7.129 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.373e-05/0.3778, allocations: 15.89 kB / 1.37 GB, free: 7.113 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.319e-05/0.3778, allocations: 0 / 1.37 GB, free: 7.113 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001424/0.3779, allocations: 15.98 kB / 1.37 GB, free: 7.098 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.009e-05/0.378, allocations: 15.83 kB / 1.37 GB, free: 7.082 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.308e-05/0.378, allocations: 11.98 kB / 1.37 GB, free: 7.07 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.744e-05/0.3781, allocations: 95.27 kB / 1.37 GB, free: 6.977 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3781, allocations: 0 / 1.37 GB, free: 6.977 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002407/0.3783, allocations: 28 kB / 1.37 GB, free: 6.949 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: 6 ($whenCondition2,$whenCondition1,locTim.tNext,locTim.k,eqnTim.tNext,eqnTim.k) * Number of discrete states: 4 (locTim.tNext,eqnTim.tNext,eqnTim.k,locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0001315/0.3784, allocations: 111.2 kB / 1.37 GB, free: 6.832 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002154/0.3787, allocations: 91.95 kB / 1.37 GB, free: 6.742 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.3787, allocations: 0 / 1.37 GB, free: 6.742 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001147/0.3788, allocations: 49.02 kB / 1.37 GB, free: 6.695 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002295/0.379, allocations: 8 kB / 1.37 GB, free: 6.688 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000458/0.3795, allocations: 226.7 kB / 1.37 GB, free: 6.441 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.945e-05/0.3796, allocations: 93.25 kB / 1.371 GB, free: 6.328 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 5.325e-05/0.3796, allocations: 12.97 kB / 1.371 GB, free: 6.316 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.307e-05/0.3797, allocations: 19.42 kB / 1.371 GB, free: 6.297 MB / 1.061 GB Notification: Performance of SimCode: time 2.9e-07/0.3797, allocations: 0 / 1.371 GB, free: 6.297 MB / 1.061 GB Notification: Performance of Templates: time 0.004101/0.3838, allocations: 1.234 MB / 1.372 GB, free: 5.086 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.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.430061431601644]