Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001849/0.001849, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 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.002325/0.002325, allocations: 165.7 kB / 23.55 MB, free: 0.8867 MB / 18.57 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.553/1.553, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.814/2.814, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.SolarTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5001,variableFilter="time|solTim.solTim|solTim.locTim",fileNamePrefix="Buildings_11_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_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.451e-05/2.592e-05, allocations: 5.609 kB / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.003114/0.00314, allocations: 1.611 MB / 0.788 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001228/0.004368, allocations: 0.5639 MB / 0.7885 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.081e-05/0.004429, allocations: 0 / 0.7885 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.556e-05/0.004464, allocations: 5.031 kB / 0.7885 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002659/0.00473, allocations: 40.88 kB / 0.7886 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001793/0.00491, allocations: 56.5 kB / 0.7886 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001971/0.005107, allocations: 119.6 kB / 0.7887 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.948e-05/0.005206, allocations: 12.94 kB / 0.7887 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002169/0.005423, allocations: 79.8 kB / 0.7888 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001245/0.005548, allocations: 48.98 kB / 0.7889 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.73e-05/0.005575, allocations: 8 kB / 0.7889 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.256e-05/0.005638, allocations: 16 kB / 0.7889 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.295e-05/0.00568, allocations: 30.66 kB / 0.7889 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.607e-05/0.005747, allocations: 35.84 kB / 0.7889 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002166/0.005963, allocations: 119.6 kB / 0.7891 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.005966, allocations: 0 / 0.7891 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.21e-07/0.005966, allocations: 0 / 0.7891 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.005971, allocations: 0 / 0.7891 GB, free: 10.07 MB / 0.7448 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.0008163/0.006787, allocations: 339.4 kB / 0.7894 GB, free: 9.707 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.006825, allocations: 12.62 kB / 0.7894 GB, free: 9.695 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002249/0.00705, allocations: 29.67 kB / 0.7894 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001599/0.00721, allocations: 125.6 kB / 0.7895 GB, free: 9.52 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.214e-05/0.007232, allocations: 9.188 kB / 0.7896 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.249e-05/0.007255, allocations: 8.375 kB / 0.7896 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002036/0.007458, allocations: 89.3 kB / 0.7896 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.395e-06/0.007467, allocations: 4.125 kB / 0.7897 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.637e-05/0.007483, allocations: 8.375 kB / 0.7897 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.00749, allocations: 3.938 kB / 0.7897 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001332/0.007623, allocations: 53.09 kB / 0.7897 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000691/0.008314, allocations: 296.2 kB / 0.79 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003457/0.00866, allocations: 123.2 kB / 0.7901 GB, free: 8.898 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001013/0.008761, allocations: 47.39 kB / 0.7902 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.405e-05/0.008785, allocations: 4 kB / 0.7902 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000269/0.009054, allocations: 99.34 kB / 0.7903 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=14): time 1.633e-06/0.009056, allocations: 0 / 0.7903 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14): time 0.0004268/0.009483, allocations: 173.5 kB / 0.7904 GB, free: 8.562 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.429e-05/0.009537, allocations: 55.41 kB / 0.7905 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001344/0.009671, allocations: 121.8 kB / 0.7906 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.725e-05/0.009709, allocations: 34.23 kB / 0.7906 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.664e-05/0.009785, allocations: 96.8 kB / 0.7907 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.715e-05/0.009842, allocations: 43.67 kB / 0.7908 GB, free: 8.188 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.1e-05/0.009923, allocations: 34.23 kB / 0.7908 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001864/0.01011, allocations: 320.5 kB / 0.7911 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.71e-05/0.0102, allocations: 35.98 kB / 0.7911 GB, free: 7.793 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.176e-05/0.01028, allocations: 42.02 kB / 0.7912 GB, free: 7.754 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00016/0.01044, allocations: 80.84 kB / 0.7912 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.01044, allocations: 3.938 kB / 0.7913 GB, free: 7.668 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002808/0.01072, allocations: 148 kB / 0.7914 GB, free: 7.52 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.01074, allocations: 8.625 kB / 0.7914 GB, free: 7.512 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.01074, allocations: 0 / 0.7914 GB, free: 7.512 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.182e-05/0.01077, allocations: 4.688 kB / 0.7914 GB, free: 7.508 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001468/0.01091, allocations: 19.98 kB / 0.7914 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.01092, allocations: 1 kB / 0.7914 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001208/0.01104, allocations: 15.92 kB / 0.7914 GB, free: 7.473 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.649e-05/0.01106, allocations: 5.375 kB / 0.7914 GB, free: 7.469 MB / 0.7448 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.0001389/0.01119, allocations: 133.7 kB / 0.7916 GB, free: 7.328 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.299e-05/0.01123, allocations: 13.77 kB / 0.7916 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003372/0.01156, allocations: 156.5 kB / 0.7917 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.01157, allocations: 4 kB / 0.7917 GB, free: 7.16 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.01157, allocations: 0 / 0.7917 GB, free: 7.16 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.543e-06/0.01158, allocations: 5.078 kB / 0.7917 GB, free: 7.156 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006385/0.01222, allocations: 394 kB / 0.7921 GB, free: 6.734 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.01222, allocations: 0 / 0.7921 GB, free: 6.734 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.55e-05/0.01232, allocations: 20.58 kB / 0.7921 GB, free: 6.715 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.01232, allocations: 4 kB / 0.7921 GB, free: 6.711 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.01234, allocations: 0.9375 kB / 0.7921 GB, free: 6.711 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.01234, allocations: 3.938 kB / 0.7921 GB, free: 6.707 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.01234, allocations: 0.8438 kB / 0.7922 GB, free: 6.707 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003823/0.01272, allocations: 261.6 kB / 0.7924 GB, free: 6.438 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.581e-05/0.01275, allocations: 13.56 kB / 0.7924 GB, free: 6.426 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.129e-05/0.01278, allocations: 4 kB / 0.7924 GB, free: 6.422 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001469/0.01293, allocations: 11.98 kB / 0.7924 GB, free: 6.41 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.023e-05/0.01299, allocations: 7.984 kB / 0.7924 GB, free: 6.402 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.992e-05/0.01301, allocations: 12.89 kB / 0.7924 GB, free: 6.391 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.952e-05/0.0131, allocations: 95.27 kB / 0.7925 GB, free: 6.297 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8.1e-08/0.0131, allocations: 0 / 0.7925 GB, free: 6.297 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002755/0.01337, allocations: 30.16 kB / 0.7926 GB, free: 6.27 MB / 0.7448 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.0004561/0.01383, allocations: 103.2 kB / 0.7927 GB, free: 6.156 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002635/0.01409, allocations: 103.8 kB / 0.7928 GB, free: 6.055 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.01409, allocations: 2.188 kB / 0.7928 GB, free: 6.055 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001099/0.0142, allocations: 47.92 kB / 0.7928 GB, free: 6.008 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002588/0.01446, allocations: 15.92 kB / 0.7928 GB, free: 5.992 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005656/0.01503, allocations: 228.6 kB / 0.793 GB, free: 5.742 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001077/0.01514, allocations: 90.47 kB / 0.7931 GB, free: 5.633 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.501e-05/0.0152, allocations: 10.88 kB / 0.7931 GB, free: 5.621 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.694e-05/0.01527, allocations: 21.16 kB / 0.7932 GB, free: 5.598 MB / 0.7448 GB Notification: Performance of SimCode: time 8.01e-07/0.01527, allocations: 0 / 0.7932 GB, free: 5.598 MB / 0.7448 GB Notification: Performance of Templates: time 0.004489/0.01976, allocations: 1.231 MB / 0.7944 GB, free: 4.402 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & ./Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 7.915862543974072]