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.001572/0.001572, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.001711/0.001711, allocations: 169 kB / 23.82 MB, free: 0.7461 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 0.9574/0.9574, allocations: 177.1 MB / 204.2 MB, free: 5.43 MB / 186.7 MB " [Timeout remaining time 179] 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 1.78/1.78, allocations: 359 MB / 0.6052 GB, free: 11.01 MB / 0.573 GB " [Timeout remaining time 178] 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.443e-06/1.443e-06, allocations: 0 / 0.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.267e-05/2.412e-05, allocations: 8.25 kB / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002431/0.002455, allocations: 1.658 MB / 0.7887 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001029/0.003484, allocations: 0.5755 MB / 0.7893 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.853e-05/0.003553, allocations: 4 kB / 0.7893 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.489e-05/0.003598, allocations: 8.438 kB / 0.7893 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0003254/0.003923, allocations: 45.28 kB / 0.7893 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001944/0.004118, allocations: 44.53 kB / 0.7894 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001562/0.004274, allocations: 119.6 kB / 0.7895 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.004393, allocations: 20.84 kB / 0.7895 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002333/0.004626, allocations: 81.45 kB / 0.7896 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001164/0.004743, allocations: 47.88 kB / 0.7896 GB, free: 9.887 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.582e-05/0.004769, allocations: 8 kB / 0.7897 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.453e-05/0.004833, allocations: 19.98 kB / 0.7897 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.786e-05/0.004861, allocations: 23.91 kB / 0.7897 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.551e-05/0.004917, allocations: 37.25 kB / 0.7897 GB, free: 9.801 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001699/0.005087, allocations: 83.7 kB / 0.7898 GB, free: 9.719 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.00509, allocations: 0 / 0.7898 GB, free: 9.719 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.062e-06/0.005091, allocations: 1.594 kB / 0.7898 GB, free: 9.719 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.912e-06/0.005097, allocations: 0 / 0.7898 GB, free: 9.719 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.0007301/0.005827, allocations: 451.6 kB / 0.7902 GB, free: 9.246 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.005867, allocations: 8.031 kB / 0.7903 GB, free: 9.238 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001785/0.006045, allocations: 32.83 kB / 0.7903 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.00617, allocations: 116.5 kB / 0.7904 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.006188, allocations: 12.36 kB / 0.7904 GB, free: 9.055 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.61e-05/0.006204, allocations: 8.375 kB / 0.7904 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001522/0.006356, allocations: 92.47 kB / 0.7905 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.006364, allocations: 192 / 0.7905 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.006377, allocations: 1 kB / 0.7905 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.187e-05/0.006389, allocations: 15.86 kB / 0.7905 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.604e-05/0.006465, allocations: 36.56 kB / 0.7906 GB, free: 8.898 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004947/0.00696, allocations: 340.1 kB / 0.7909 GB, free: 8.531 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002451/0.007205, allocations: 112.2 kB / 0.791 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.331e-05/0.007268, allocations: 39.8 kB / 0.791 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.34e-05/0.007282, allocations: 4.531 kB / 0.791 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001535/0.007435, allocations: 102.2 kB / 0.7911 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=14): time 2.154e-06/0.007437, allocations: 0 / 0.7911 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14): time 0.0002893/0.007727, allocations: 148 kB / 0.7913 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.193e-05/0.007769, allocations: 56.47 kB / 0.7913 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.007871, allocations: 177.9 kB / 0.7915 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.007889, allocations: 33.69 kB / 0.7915 GB, free: 7.805 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.35e-05/0.007943, allocations: 143.7 kB / 0.7917 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.163e-05/0.007984, allocations: 47.67 kB / 0.7917 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.145e-05/0.008036, allocations: 35.36 kB / 0.7917 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.008166, allocations: 0.4971 MB / 0.7922 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.136e-05/0.008217, allocations: 23.98 kB / 0.7922 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.746e-05/0.008265, allocations: 27.05 kB / 0.7923 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001035/0.008368, allocations: 63.61 kB / 0.7923 GB, free: 6.949 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.008372, allocations: 7.938 kB / 0.7923 GB, free: 6.941 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001856/0.008557, allocations: 126 kB / 0.7925 GB, free: 6.816 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.008572, allocations: 4 kB / 0.7925 GB, free: 6.812 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.008578, allocations: 0 / 0.7925 GB, free: 6.812 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.008591, allocations: 4 kB / 0.7925 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.858e-05/0.008689, allocations: 27.92 kB / 0.7925 GB, free: 6.781 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.483e-06/0.008696, allocations: 0 / 0.7925 GB, free: 6.781 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.986e-05/0.008756, allocations: 14.78 kB / 0.7925 GB, free: 6.77 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.358e-05/0.008769, allocations: 7.984 kB / 0.7925 GB, free: 6.762 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 9.055e-05/0.00886, allocations: 164.5 kB / 0.7927 GB, free: 6.59 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.256e-05/0.008882, allocations: 15.95 kB / 0.7927 GB, free: 6.574 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002324/0.009115, allocations: 152.4 kB / 0.7928 GB, free: 6.426 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.009117, allocations: 1.531 kB / 0.7928 GB, free: 6.426 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.009121, allocations: 0 / 0.7928 GB, free: 6.426 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.009125, allocations: 0 / 0.7928 GB, free: 6.426 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000389/0.009514, allocations: 417.3 kB / 0.7932 GB, free: 5.977 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.009516, allocations: 4.625 kB / 0.7932 GB, free: 5.973 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.83e-05/0.009564, allocations: 19.92 kB / 0.7933 GB, free: 5.953 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.009566, allocations: 0.5625 kB / 0.7933 GB, free: 5.953 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.009576, allocations: 8.562 kB / 0.7933 GB, free: 5.945 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.009578, allocations: 0 / 0.7933 GB, free: 5.945 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.00958, allocations: 0.6875 kB / 0.7933 GB, free: 5.945 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001865/0.009766, allocations: 291.6 kB / 0.7935 GB, free: 5.641 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.238e-05/0.009779, allocations: 13.2 kB / 0.7936 GB, free: 5.629 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.013e-05/0.009799, allocations: 4 kB / 0.7936 GB, free: 5.625 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.181e-05/0.00985, allocations: 7.984 kB / 0.7936 GB, free: 5.617 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.219e-05/0.009893, allocations: 12.8 kB / 0.7936 GB, free: 5.605 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.277e-06/0.009902, allocations: 7.984 kB / 0.7936 GB, free: 5.598 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.469e-05/0.009957, allocations: 144.8 kB / 0.7937 GB, free: 5.457 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.009957, allocations: 0 / 0.7937 GB, free: 5.457 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001627/0.01012, allocations: 28 kB / 0.7938 GB, free: 5.43 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 9.97e-05/0.01022, allocations: 110.2 kB / 0.7939 GB, free: 5.312 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000147/0.01037, allocations: 91.42 kB / 0.7939 GB, free: 5.219 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.01037, allocations: 1 kB / 0.7939 GB, free: 5.219 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.026e-05/0.01043, allocations: 55.59 kB / 0.794 GB, free: 5.16 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001635/0.01059, allocations: 18.98 kB / 0.794 GB, free: 5.145 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006727/0.01126, allocations: 237.5 kB / 0.7942 GB, free: 4.887 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.213e-05/0.01131, allocations: 68.59 kB / 0.7943 GB, free: 4.801 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.54e-05/0.01135, allocations: 20.77 kB / 0.7943 GB, free: 4.777 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.346e-05/0.0114, allocations: 12.5 kB / 0.7943 GB, free: 4.766 MB / 0.7448 GB Notification: Performance of SimCode: time 7.22e-07/0.0114, allocations: 4 kB / 0.7943 GB, free: 4.762 MB / 0.7448 GB Notification: Performance of Templates: time 0.002887/0.01428, allocations: 1.253 MB / 0.7956 GB, free: 3.531 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.035196091979742]