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.001919/0.001919, 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.002475/0.002475, allocations: 218.4 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.596/1.596, allocations: 230.6 MB / 256.8 MB, free: 8.219 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.347/3.347, allocations: 0.505 GB / 0.8108 GB, free: 22.02 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.002187/0.002187, allocations: 71 kB / 1.178 GB, free: 16.93 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3636/0.3658, allocations: 180.2 MB / 1.354 GB, free: 7.941 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.003661/0.3695, allocations: 1.626 MB / 1.356 GB, free: 6.305 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001195/0.3707, allocations: 0.6083 MB / 1.356 GB, free: 5.691 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.656e-05/0.3707, allocations: 0 / 1.356 GB, free: 5.691 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.236e-05/0.3708, allocations: 7.875 kB / 1.356 GB, free: 5.684 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002863/0.3711, allocations: 50.12 kB / 1.356 GB, free: 5.637 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001674/0.3712, allocations: 47.83 kB / 1.356 GB, free: 5.59 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001574/0.3714, allocations: 115.6 kB / 1.356 GB, free: 5.477 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.3715, allocations: 15.92 kB / 1.357 GB, free: 5.461 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000179/0.3717, allocations: 55.78 kB / 1.357 GB, free: 5.406 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001284/0.3718, allocations: 47.83 kB / 1.357 GB, free: 5.359 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.304e-05/0.3719, allocations: 8 kB / 1.357 GB, free: 5.352 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 6.3e-05/0.3719, allocations: 23.98 kB / 1.357 GB, free: 5.328 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.175e-05/0.3719, allocations: 19.91 kB / 1.357 GB, free: 5.309 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 6.406e-05/0.372, allocations: 47.8 kB / 1.357 GB, free: 5.262 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001948/0.3722, allocations: 99.61 kB / 1.357 GB, free: 5.164 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.3722, allocations: 0 / 1.357 GB, free: 5.164 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.734e-06/0.3722, allocations: 0 / 1.357 GB, free: 5.164 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.102e-05/0.3722, allocations: 3.938 kB / 1.357 GB, free: 5.16 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007526/0.373, allocations: 330 kB / 1.357 GB, free: 4.809 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.373, allocations: 12.03 kB / 1.357 GB, free: 4.797 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002012/0.3732, allocations: 16.88 kB / 1.357 GB, free: 4.781 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001669/0.3734, allocations: 134.3 kB / 1.357 GB, free: 4.625 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.3734, allocations: 4.375 kB / 1.357 GB, free: 4.621 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.32e-05/0.3734, allocations: 8.375 kB / 1.357 GB, free: 4.613 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000195/0.3736, allocations: 87.5 kB / 1.357 GB, free: 4.523 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.3736, allocations: 0 / 1.357 GB, free: 4.523 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/0.3736, allocations: 3.984 kB / 1.357 GB, free: 4.52 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.3737, allocations: 4 kB / 1.357 GB, free: 4.516 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001211/0.3738, allocations: 55.89 kB / 1.357 GB, free: 4.461 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005526/0.3743, allocations: 307.8 kB / 1.358 GB, free: 4.117 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002893/0.3746, allocations: 102.7 kB / 1.358 GB, free: 4.008 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.144e-05/0.3747, allocations: 40.84 kB / 1.358 GB, free: 3.965 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/0.3747, allocations: 4 kB / 1.358 GB, free: 3.961 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002203/0.3749, allocations: 99.28 kB / 1.358 GB, free: 3.852 MB / 1.045 GB Notification: Performance of pre-optimization done (n=11): time 1.412e-06/0.3749, allocations: 0 / 1.358 GB, free: 3.852 MB / 1.045 GB Notification: Performance of matching and sorting (n=11): time 0.0003445/0.3753, allocations: 149.5 kB / 1.358 GB, free: 3.699 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.917e-05/0.3753, allocations: 55.41 kB / 1.358 GB, free: 3.633 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.3755, allocations: 117.8 kB / 1.358 GB, free: 3.508 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.28e-05/0.3755, allocations: 29.7 kB / 1.358 GB, free: 3.473 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.489e-05/0.3755, allocations: 96.31 kB / 1.358 GB, free: 3.371 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.042e-05/0.3756, allocations: 43.81 kB / 1.358 GB, free: 3.328 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.136e-05/0.3756, allocations: 25.72 kB / 1.358 GB, free: 3.297 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.3758, allocations: 326.7 kB / 1.359 GB, free: 2.969 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.202e-05/0.3759, allocations: 27.98 kB / 1.359 GB, free: 2.941 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.713e-05/0.3759, allocations: 31.98 kB / 1.359 GB, free: 2.91 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001288/0.376, allocations: 72.78 kB / 1.359 GB, free: 2.836 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.376, allocations: 0 / 1.359 GB, free: 2.836 MB / 1.045 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001807/0.3762, allocations: 107.9 kB / 1.359 GB, free: 2.727 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.3762, allocations: 8 kB / 1.359 GB, free: 2.719 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.3762, allocations: 0 / 1.359 GB, free: 2.719 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.3763, allocations: 4 kB / 1.359 GB, free: 2.715 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.3764, allocations: 15.98 kB / 1.359 GB, free: 2.699 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.3764, allocations: 3.938 kB / 1.359 GB, free: 2.695 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001021/0.3765, allocations: 19.81 kB / 1.359 GB, free: 2.676 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.247e-05/0.3765, allocations: 3.984 kB / 1.359 GB, free: 2.672 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (eqnTim.tNext,$PRE.eqnTim.tNext,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 (13): * Single equations (assignments): 13 * 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.0001114/0.3766, allocations: 126.4 kB / 1.359 GB, free: 2.539 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.716e-05/0.3766, allocations: 7.953 kB / 1.359 GB, free: 2.531 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000273/0.3769, allocations: 146 kB / 1.359 GB, free: 2.383 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.3769, allocations: 0 / 1.359 GB, free: 2.383 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/0.3769, allocations: 3.984 kB / 1.359 GB, free: 2.379 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.3769, allocations: 7.875 kB / 1.359 GB, free: 2.371 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001891/0.3771, allocations: 184.6 kB / 1.359 GB, free: 2.148 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3771, allocations: 0 / 1.359 GB, free: 2.148 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.713e-05/0.3772, allocations: 16 kB / 1.36 GB, free: 2.133 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3772, allocations: 0 / 1.36 GB, free: 2.133 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.495e-05/0.3772, allocations: 7.984 kB / 1.36 GB, free: 2.125 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.3772, allocations: 4 kB / 1.36 GB, free: 2.121 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3772, allocations: 0 / 1.36 GB, free: 2.121 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002543/0.3774, allocations: 163.2 kB / 1.36 GB, free: 1.945 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.173e-05/0.3775, allocations: 7.891 kB / 1.36 GB, free: 1.938 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.555e-05/0.3775, allocations: 11.94 kB / 1.36 GB, free: 1.926 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.957e-05/0.3776, allocations: 7.984 kB / 1.36 GB, free: 1.918 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.806e-05/0.3776, allocations: 15.97 kB / 1.36 GB, free: 1.902 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.035e-05/0.3777, allocations: 15.94 kB / 1.36 GB, free: 1.887 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.847e-05/0.3777, allocations: 96.14 kB / 1.36 GB, free: 1.793 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3777, allocations: 0 / 1.36 GB, free: 1.793 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002088/0.3779, allocations: 24 kB / 1.36 GB, free: 1.77 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,locTim.tNext,eqnTim.tNext) * Number of discrete states: 2 (locTim.tNext,eqnTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * 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.0001348/0.3781, allocations: 99.25 kB / 1.36 GB, free: 1.664 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002038/0.3783, allocations: 79.91 kB / 1.36 GB, free: 1.586 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3783, allocations: 4 kB / 1.36 GB, free: 1.582 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 9.17e-05/0.3784, allocations: 47.91 kB / 1.36 GB, free: 1.535 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001574/0.3785, allocations: 13.69 kB / 1.36 GB, free: 1.523 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004738/0.379, allocations: 228.4 kB / 1.36 GB, free: 1.262 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003565/0.3794, allocations: 0.7077 MB / 1.361 GB, free: 0.5273 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.913e-05/0.3794, allocations: 19.44 kB / 1.361 GB, free: 0.5078 MB / 1.045 GB Notification: Performance of SimCode: time 3.01e-07/0.3794, allocations: 0 / 1.361 GB, free: 0.5078 MB / 1.045 GB Notification: Performance of Templates: time 0.003029/0.3825, allocations: 1.279 MB / 1.362 GB, free: 15.23 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/jenkins1/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: 11.489049408002757]