Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009513/0.0009513, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001061/0.001061, allocations: 169.3 kB / 24.28 MB, free: 276 kB / 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.9878/0.9878, allocations: 177.1 MB / 204.6 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.881/1.881, allocations: 377.8 MB / 0.6239 GB, free: 8.559 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.092e-06/1.092e-06, allocations: 0 / 0.8115 GB, free: 2.016 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.324e-05/2.433e-05, allocations: 3.406 kB / 0.8115 GB, free: 2.012 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002954/0.002979, allocations: 1.648 MB / 0.8132 GB, free: 384 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001066/0.004045, allocations: 0.5795 MB / 0.8137 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.469e-05/0.00409, allocations: 0 / 0.8137 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.625e-05/0.004116, allocations: 13.55 kB / 0.8137 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001822/0.004298, allocations: 41.23 kB / 0.8138 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001363/0.004434, allocations: 47.88 kB / 0.8138 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001267/0.004561, allocations: 119.6 kB / 0.8139 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 7.324e-05/0.004634, allocations: 20.14 kB / 0.814 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001448/0.004779, allocations: 76.5 kB / 0.814 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 8.892e-05/0.004868, allocations: 48.86 kB / 0.8141 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.084e-05/0.004889, allocations: 12 kB / 0.8141 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.364e-05/0.004942, allocations: 12 kB / 0.8141 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.621e-05/0.004969, allocations: 29.28 kB / 0.8141 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.83e-05/0.005017, allocations: 35.91 kB / 0.8142 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001455/0.005162, allocations: 87.7 kB / 0.8142 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.005165, allocations: 3.938 kB / 0.8142 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.002e-06/0.005166, allocations: 1.75 kB / 0.8142 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.226e-06/0.005169, allocations: 0 / 0.8142 GB, free: 15.26 MB / 0.7761 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.0005209/0.00569, allocations: 437.1 kB / 0.8147 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 6.008e-05/0.00575, allocations: 12.62 kB / 0.8147 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000168/0.005918, allocations: 25.41 kB / 0.8147 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.375e-05/0.006002, allocations: 124.5 kB / 0.8148 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.006014, allocations: 8.938 kB / 0.8148 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.32e-05/0.006027, allocations: 17 kB / 0.8148 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001053/0.006132, allocations: 94.75 kB / 0.8149 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.667e-06/0.006136, allocations: 1.438 kB / 0.8149 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-06/0.006143, allocations: 384 / 0.8149 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.006148, allocations: 7.922 kB / 0.8149 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.398e-05/0.006202, allocations: 38.53 kB / 0.815 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004014/0.006604, allocations: 343.6 kB / 0.8153 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001982/0.006802, allocations: 111.1 kB / 0.8154 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.781e-05/0.00685, allocations: 39.67 kB / 0.8154 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.125e-05/0.006861, allocations: 4 kB / 0.8155 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001063/0.006967, allocations: 97.47 kB / 0.8155 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=14): time 9.51e-07/0.006968, allocations: 0.7188 kB / 0.8155 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of matching and sorting (n=14): time 0.0001905/0.007159, allocations: 141.6 kB / 0.8157 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.818e-05/0.007187, allocations: 59.94 kB / 0.8157 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.776e-05/0.007275, allocations: 179.5 kB / 0.8159 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.00729, allocations: 29.7 kB / 0.8159 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.047e-05/0.00734, allocations: 142.8 kB / 0.8161 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.138e-05/0.007372, allocations: 35.69 kB / 0.8161 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.253e-05/0.007414, allocations: 43.36 kB / 0.8161 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.007525, allocations: 0.4929 MB / 0.8166 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.916e-05/0.007564, allocations: 20.67 kB / 0.8167 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.499e-05/0.007609, allocations: 27.92 kB / 0.8167 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001222/0.007732, allocations: 71.34 kB / 0.8167 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.007734, allocations: 7.875 kB / 0.8168 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001254/0.007859, allocations: 122.5 kB / 0.8169 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 8.726e-06/0.007868, allocations: 4 kB / 0.8169 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.785e-06/0.007871, allocations: 0 / 0.8169 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.943e-06/0.007878, allocations: 1.219 kB / 0.8169 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.988e-05/0.007957, allocations: 35.92 kB / 0.8169 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.256e-06/0.007961, allocations: 0 / 0.8169 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.509e-05/0.008006, allocations: 12.77 kB / 0.8169 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.008015, allocations: 8 kB / 0.8169 GB, free: 12.31 MB / 0.7761 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 7.542e-05/0.00809, allocations: 173.7 kB / 0.8171 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.711e-05/0.008107, allocations: 15.94 kB / 0.8171 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001913/0.008299, allocations: 145.9 kB / 0.8172 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.008301, allocations: 4 kB / 0.8173 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.814e-06/0.008303, allocations: 2.969 kB / 0.8173 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.008306, allocations: 0 / 0.8173 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003204/0.008626, allocations: 425.2 kB / 0.8177 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.008627, allocations: 0 / 0.8177 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.666e-05/0.008674, allocations: 23.94 kB / 0.8177 GB, free: 11.49 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.008675, allocations: 0 / 0.8177 GB, free: 11.49 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.008684, allocations: 3.984 kB / 0.8177 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.008686, allocations: 4 kB / 0.8177 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.008687, allocations: 1.406 kB / 0.8177 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001752/0.008862, allocations: 293.2 kB / 0.818 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.184e-05/0.008874, allocations: 7.953 kB / 0.818 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.952e-05/0.008894, allocations: 3.984 kB / 0.818 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.258e-05/0.008946, allocations: 8.625 kB / 0.818 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.677e-05/0.008983, allocations: 16.56 kB / 0.818 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.243e-06/0.00899, allocations: 8 kB / 0.818 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.243e-05/0.009043, allocations: 145.4 kB / 0.8182 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.009043, allocations: 0 / 0.8182 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001588/0.009201, allocations: 28 kB / 0.8182 GB, free: 10.96 MB / 0.7761 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 8.447e-05/0.009286, allocations: 100.5 kB / 0.8183 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001243/0.00941, allocations: 93.55 kB / 0.8184 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.012e-06/0.009411, allocations: 3.938 kB / 0.8184 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.517e-05/0.009466, allocations: 52.7 kB / 0.8184 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001592/0.009626, allocations: 15.92 kB / 0.8184 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005815/0.01021, allocations: 235.8 kB / 0.8187 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.357e-05/0.01024, allocations: 71.25 kB / 0.8187 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.622e-05/0.01028, allocations: 4.984 kB / 0.8187 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.51e-05/0.01031, allocations: 20.48 kB / 0.8188 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of SimCode: time 8.11e-07/0.01031, allocations: 0 / 0.8188 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of Templates: time 0.00272/0.01303, allocations: 1.232 MB / 0.82 GB, free: 9.117 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.0864074430428445]