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.001476/0.001476, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001448/0.001448, allocations: 181 kB / 24.09 MB, free: 420 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 1.041/1.041, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.948/1.948, allocations: 377.9 MB / 0.6239 GB, free: 8.43 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 2.074e-06/2.074e-06, allocations: 0 / 0.812 GB, free: 1.453 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.25e-05/2.458e-05, allocations: 6.25 kB / 0.812 GB, free: 1.445 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002524/0.002549, allocations: 1.659 MB / 0.8136 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0008257/0.003374, allocations: 0.5705 MB / 0.8142 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.125e-05/0.003436, allocations: 0 / 0.8142 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.648e-05/0.003472, allocations: 11.86 kB / 0.8142 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0002361/0.003708, allocations: 45.28 kB / 0.8142 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001361/0.003844, allocations: 49.81 kB / 0.8143 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001033/0.003948, allocations: 119.6 kB / 0.8144 GB, free: 15 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.848e-05/0.004046, allocations: 16.16 kB / 0.8144 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001616/0.004208, allocations: 83.8 kB / 0.8145 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 8.776e-05/0.004295, allocations: 40.53 kB / 0.8145 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2e-05/0.004315, allocations: 8 kB / 0.8145 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.629e-05/0.004372, allocations: 20.53 kB / 0.8146 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.317e-05/0.004395, allocations: 28.61 kB / 0.8146 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.995e-05/0.004435, allocations: 35.91 kB / 0.8146 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000126/0.004561, allocations: 88.23 kB / 0.8147 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.004563, allocations: 1.406 kB / 0.8147 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.31e-07/0.004564, allocations: 0 / 0.8147 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.546e-06/0.004567, allocations: 0 / 0.8147 GB, free: 14.68 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.0005061/0.005073, allocations: 450 kB / 0.8151 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.005113, allocations: 12.03 kB / 0.8152 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001359/0.005249, allocations: 22.03 kB / 0.8152 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.534e-05/0.005334, allocations: 124.5 kB / 0.8153 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.005348, allocations: 4.375 kB / 0.8153 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.251e-05/0.00536, allocations: 17.67 kB / 0.8153 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001086/0.005469, allocations: 90.81 kB / 0.8154 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.005477, allocations: 192 / 0.8154 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.754e-06/0.005485, allocations: 384 / 0.8154 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.005492, allocations: 9.219 kB / 0.8154 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.228e-05/0.005534, allocations: 27.97 kB / 0.8154 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003698/0.005904, allocations: 320.2 kB / 0.8157 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001576/0.006061, allocations: 108.1 kB / 0.8158 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.316e-05/0.006094, allocations: 28.45 kB / 0.8159 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.722e-05/0.006112, allocations: 7.938 kB / 0.8159 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001079/0.00622, allocations: 90.23 kB / 0.816 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=14): time 1.472e-06/0.006221, allocations: 4 kB / 0.816 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of matching and sorting (n=14): time 0.00019/0.006411, allocations: 131.7 kB / 0.8161 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.238e-05/0.006443, allocations: 56.25 kB / 0.8162 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.519e-05/0.006529, allocations: 185.9 kB / 0.8163 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.006542, allocations: 27.02 kB / 0.8164 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.533e-05/0.006587, allocations: 138.8 kB / 0.8165 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.98e-05/0.006617, allocations: 39.67 kB / 0.8165 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.98e-05/0.006657, allocations: 43.34 kB / 0.8166 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.006774, allocations: 0.4935 MB / 0.817 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.547e-05/0.0068, allocations: 15.98 kB / 0.8171 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.472e-05/0.006824, allocations: 15.98 kB / 0.8171 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.944e-05/0.006884, allocations: 68 kB / 0.8171 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.006885, allocations: 3.938 kB / 0.8171 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000108/0.006993, allocations: 113.5 kB / 0.8173 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 9.809e-06/0.007003, allocations: 4.625 kB / 0.8173 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.007008, allocations: 4 kB / 0.8173 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/0.007019, allocations: 2.5 kB / 0.8173 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.704e-05/0.007096, allocations: 31.92 kB / 0.8173 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.625e-06/0.007098, allocations: 0 / 0.8173 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.271e-05/0.007141, allocations: 11.92 kB / 0.8173 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.353e-06/0.007148, allocations: 4 kB / 0.8173 GB, free: 11.84 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.125e-05/0.00722, allocations: 167 kB / 0.8175 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.731e-05/0.007237, allocations: 20.42 kB / 0.8175 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001478/0.007385, allocations: 139.8 kB / 0.8176 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.007387, allocations: 4 kB / 0.8176 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.007389, allocations: 0 / 0.8176 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.007392, allocations: 0 / 0.8176 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002862/0.007679, allocations: 395.5 kB / 0.818 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.00768, allocations: 0.8125 kB / 0.818 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.116e-05/0.007721, allocations: 23.92 kB / 0.818 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.007722, allocations: 0.6562 kB / 0.818 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.751e-06/0.007728, allocations: 0 / 0.818 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.007729, allocations: 4.656 kB / 0.818 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.00773, allocations: 0 / 0.818 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001504/0.007881, allocations: 286.8 kB / 0.8183 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.206e-05/0.007893, allocations: 11.94 kB / 0.8183 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.622e-05/0.007909, allocations: 4 kB / 0.8183 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.017e-05/0.007959, allocations: 4 kB / 0.8183 GB, free: 10.74 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.613e-05/0.007995, allocations: 15.97 kB / 0.8183 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-06/0.008002, allocations: 4 kB / 0.8183 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.94e-05/0.008041, allocations: 135.5 kB / 0.8185 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.008041, allocations: 0 / 0.8185 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001522/0.008193, allocations: 34.39 kB / 0.8185 GB, free: 10.56 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 7.248e-05/0.008266, allocations: 99.25 kB / 0.8186 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001047/0.00837, allocations: 80.97 kB / 0.8187 GB, free: 10.37 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.008373, allocations: 7.938 kB / 0.8187 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.794e-05/0.00842, allocations: 46.62 kB / 0.8187 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001539/0.008574, allocations: 20.2 kB / 0.8188 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005434/0.009118, allocations: 232.6 kB / 0.819 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.403e-05/0.009152, allocations: 63.34 kB / 0.819 GB, free: 9.957 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.946e-05/0.009191, allocations: 14.09 kB / 0.819 GB, free: 9.941 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.206e-05/0.009253, allocations: 79.17 kB / 0.8191 GB, free: 9.863 MB / 0.7761 GB Notification: Performance of SimCode: time 4.31e-07/0.009254, allocations: 0 / 0.8191 GB, free: 9.863 MB / 0.7761 GB Notification: Performance of Templates: time 0.002681/0.01194, allocations: 1.303 MB / 0.8204 GB, free: 8.594 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.397000027820468]