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.00103/0.00103, allocations: 87.58 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.00104/0.00104, allocations: 161 kB / 23.81 MB, free: 0.7539 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.9824/0.9824, allocations: 177.1 MB / 204.2 MB, free: 5.637 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.901/1.901, allocations: 377.8 MB / 0.6236 GB, free: 8.57 MB / 0.5886 GB " [Timeout remaining time 177] 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.523e-06/1.523e-06, allocations: 0.7656 kB / 0.8115 GB, free: 1.73 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.433e-05/2.586e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.727 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002408/0.002434, allocations: 1.661 MB / 0.8132 GB, free: 76 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0008655/0.0033, allocations: 0.5796 MB / 0.8137 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.904e-05/0.003359, allocations: 0 / 0.8137 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.758e-05/0.003396, allocations: 7.875 kB / 0.8137 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0002689/0.003665, allocations: 46.03 kB / 0.8138 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001655/0.003831, allocations: 47.88 kB / 0.8138 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001168/0.003948, allocations: 120.1 kB / 0.8139 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.004058, allocations: 24.14 kB / 0.814 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001843/0.004242, allocations: 77.02 kB / 0.814 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 9.88e-05/0.004341, allocations: 43.88 kB / 0.8141 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.549e-05/0.004366, allocations: 12 kB / 0.8141 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.519e-05/0.004421, allocations: 16.5 kB / 0.8141 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.383e-05/0.004445, allocations: 28.42 kB / 0.8141 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.994e-05/0.004495, allocations: 36.42 kB / 0.8142 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001436/0.004639, allocations: 87.69 kB / 0.8143 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.053e-06/0.004641, allocations: 1.25 kB / 0.8143 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.011e-06/0.004642, allocations: 0 / 0.8143 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.017e-06/0.004646, allocations: 0 / 0.8143 GB, free: 14.96 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.0005344/0.00518, allocations: 446.5 kB / 0.8147 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.005215, allocations: 8.031 kB / 0.8147 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001394/0.005354, allocations: 25.44 kB / 0.8147 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000103/0.005457, allocations: 124.5 kB / 0.8148 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.005472, allocations: 5 kB / 0.8148 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.809e-05/0.00549, allocations: 16.36 kB / 0.8148 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001274/0.005617, allocations: 92.12 kB / 0.8149 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.005628, allocations: 4.172 kB / 0.8149 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.005639, allocations: 4.375 kB / 0.8149 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.005649, allocations: 9.469 kB / 0.815 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.187e-05/0.005711, allocations: 38.56 kB / 0.815 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000436/0.006147, allocations: 339.6 kB / 0.8153 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002148/0.006362, allocations: 120.9 kB / 0.8154 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.297e-05/0.006415, allocations: 39.75 kB / 0.8155 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.592e-05/0.006431, allocations: 4 kB / 0.8155 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001269/0.006558, allocations: 93 kB / 0.8156 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=14): time 1.352e-06/0.006559, allocations: 1.281 kB / 0.8156 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of matching and sorting (n=14): time 0.0002346/0.006794, allocations: 145.5 kB / 0.8157 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.508e-05/0.006829, allocations: 59.39 kB / 0.8158 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.579e-05/0.006914, allocations: 179.2 kB / 0.8159 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.00693, allocations: 29.7 kB / 0.816 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.735e-05/0.006978, allocations: 142.8 kB / 0.8161 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.346e-05/0.007011, allocations: 43.67 kB / 0.8161 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.113e-05/0.007062, allocations: 39.89 kB / 0.8162 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.007171, allocations: 0.4928 MB / 0.8167 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.107e-05/0.007212, allocations: 23.98 kB / 0.8167 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.748e-05/0.00725, allocations: 24.86 kB / 0.8167 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.308e-05/0.007333, allocations: 65.08 kB / 0.8168 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.007336, allocations: 8.75 kB / 0.8168 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001383/0.007474, allocations: 121.6 kB / 0.8169 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.007486, allocations: 8.516 kB / 0.8169 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.00749, allocations: 1.375 kB / 0.8169 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.007504, allocations: 4 kB / 0.8169 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.502e-05/0.007589, allocations: 27.92 kB / 0.8169 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.007594, allocations: 0 / 0.8169 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.825e-05/0.007642, allocations: 13.09 kB / 0.8169 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-06/0.007651, allocations: 4 kB / 0.8169 GB, free: 12.01 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.999e-05/0.007731, allocations: 172.2 kB / 0.8171 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.695e-05/0.007748, allocations: 16.64 kB / 0.8171 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001852/0.007933, allocations: 147.7 kB / 0.8173 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.007937, allocations: 4.906 kB / 0.8173 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.007941, allocations: 3.984 kB / 0.8173 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.007944, allocations: 0.8438 kB / 0.8173 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003422/0.008286, allocations: 421.2 kB / 0.8177 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.008288, allocations: 1.281 kB / 0.8177 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.971e-05/0.008338, allocations: 23.92 kB / 0.8177 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.008341, allocations: 0 / 0.8177 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.00835, allocations: 4.594 kB / 0.8177 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.008351, allocations: 0 / 0.8177 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.008352, allocations: 0.8125 kB / 0.8177 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001797/0.008532, allocations: 293.5 kB / 0.818 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.307e-05/0.008545, allocations: 13.56 kB / 0.818 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.798e-05/0.008573, allocations: 4 kB / 0.818 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.374e-05/0.008647, allocations: 4 kB / 0.818 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.21e-05/0.008689, allocations: 15.97 kB / 0.818 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.008696, allocations: 4.906 kB / 0.818 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.546e-05/0.008751, allocations: 139.2 kB / 0.8182 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.008751, allocations: 3.938 kB / 0.8182 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001805/0.008932, allocations: 35.42 kB / 0.8182 GB, free: 10.66 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 9.491e-05/0.009026, allocations: 99.25 kB / 0.8183 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001514/0.009178, allocations: 93.08 kB / 0.8184 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.092e-06/0.009179, allocations: 0 / 0.8184 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.019e-05/0.009239, allocations: 51.59 kB / 0.8184 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001648/0.009404, allocations: 11.94 kB / 0.8184 GB, free: 10.4 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000708/0.01011, allocations: 238.7 kB / 0.8187 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.195e-05/0.01015, allocations: 67.34 kB / 0.8187 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.734e-05/0.0102, allocations: 14.7 kB / 0.8187 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.456e-05/0.01025, allocations: 22.69 kB / 0.8188 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of SimCode: time 6.31e-07/0.01025, allocations: 0 / 0.8188 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of Templates: time 0.003351/0.0136, allocations: 1.227 MB / 0.82 GB, free: 8.824 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.29065780621022]