Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.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.0009682/0.0009682, allocations: 80.3 kB / 21.47 MB, free: 3.031 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.001148/0.001148, allocations: 164.7 kB / 24.86 MB, free: 9.211 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.019/1.019, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.91/1.91, allocations: 377.9 MB / 0.6247 GB, free: 8.391 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.EquationOfTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|eqnTim.nDay|eqnTim.eqnTim",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|eqnTim.nDay|eqnTim.eqnTim",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.8128 GB, free: 1.441 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.99e-05/2.159e-05, allocations: 7.312 kB / 0.8128 GB, free: 1.434 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002675/0.002697, allocations: 1.504 MB / 0.8143 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0009891/0.003686, allocations: 0.5362 MB / 0.8148 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.9e-05/0.003745, allocations: 0 / 0.8148 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.76e-05/0.003783, allocations: 0 / 0.8148 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0002827/0.004065, allocations: 36.59 kB / 0.8148 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001689/0.004234, allocations: 35.89 kB / 0.8148 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 9.443e-05/0.004329, allocations: 48.58 kB / 0.8149 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.374e-05/0.004423, allocations: 11.98 kB / 0.8149 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001644/0.004587, allocations: 41.58 kB / 0.8149 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 8.212e-05/0.004669, allocations: 19.92 kB / 0.815 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.122e-05/0.00469, allocations: 8 kB / 0.815 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.65e-05/0.004747, allocations: 19.97 kB / 0.815 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.939e-05/0.004766, allocations: 5.531 kB / 0.815 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.688e-05/0.004803, allocations: 19.92 kB / 0.815 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001293/0.004932, allocations: 47.81 kB / 0.8151 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.004935, allocations: 3.938 kB / 0.8151 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.41e-07/0.004935, allocations: 0.5 kB / 0.8151 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.586e-06/0.004939, allocations: 5.75 kB / 0.8151 GB, free: 15.11 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005141/0.005453, allocations: 380.5 kB / 0.8154 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.005494, allocations: 8.938 kB / 0.8154 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001672/0.005662, allocations: 20.86 kB / 0.8155 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.892e-05/0.00576, allocations: 117.2 kB / 0.8156 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.107e-05/0.005782, allocations: 1 kB / 0.8156 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.468e-05/0.005796, allocations: 4.375 kB / 0.8156 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000112/0.005908, allocations: 68.23 kB / 0.8156 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.005917, allocations: 192 / 0.8156 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.918e-06/0.005927, allocations: 384 / 0.8156 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.005934, allocations: 3.938 kB / 0.8156 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.564e-05/0.00598, allocations: 18.48 kB / 0.8157 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003673/0.006347, allocations: 264.4 kB / 0.8159 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001774/0.006524, allocations: 67.09 kB / 0.816 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.799e-05/0.006552, allocations: 11.69 kB / 0.816 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.639e-05/0.006569, allocations: 11.92 kB / 0.816 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001158/0.006684, allocations: 73.5 kB / 0.8161 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.006686, allocations: 0.7188 kB / 0.8161 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0002028/0.006889, allocations: 81.61 kB / 0.8162 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.325e-05/0.006932, allocations: 55.94 kB / 0.8162 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.352e-05/0.007015, allocations: 171.5 kB / 0.8164 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.007033, allocations: 25.7 kB / 0.8164 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.966e-05/0.007083, allocations: 130.9 kB / 0.8165 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.008e-05/0.007113, allocations: 23.84 kB / 0.8165 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.642e-05/0.007159, allocations: 27.95 kB / 0.8166 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.007291, allocations: 0.4884 MB / 0.817 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.936e-05/0.007321, allocations: 12.64 kB / 0.8171 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.215e-05/0.007343, allocations: 4 kB / 0.8171 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.011e-05/0.007403, allocations: 32.39 kB / 0.8171 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.007405, allocations: 0 / 0.8171 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001166/0.007522, allocations: 74.67 kB / 0.8172 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.007538, allocations: 7.938 kB / 0.8172 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.007543, allocations: 5.375 kB / 0.8172 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.397e-06/0.007552, allocations: 0 / 0.8172 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.732e-05/0.007639, allocations: 15.92 kB / 0.8172 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-06/0.007643, allocations: 4.312 kB / 0.8172 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.171e-05/0.007695, allocations: 8.703 kB / 0.8172 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.007705, allocations: 4 kB / 0.8172 GB, free: 12.73 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: 5 (eqnTim.k,$PRE.eqnTim.k,eqnTim.tNext,$PRE.eqnTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.06e-05/0.007796, allocations: 157.5 kB / 0.8174 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.86e-05/0.007815, allocations: 7.938 kB / 0.8174 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001744/0.007989, allocations: 94.94 kB / 0.8175 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.007991, allocations: 0 / 0.8175 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.007993, allocations: 0 / 0.8175 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.007997, allocations: 0.8438 kB / 0.8175 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001133/0.00811, allocations: 117.2 kB / 0.8176 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.008112, allocations: 2.219 kB / 0.8176 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.881e-05/0.008171, allocations: 11.98 kB / 0.8176 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.008173, allocations: 0 / 0.8176 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.008184, allocations: 8 kB / 0.8176 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/0.008189, allocations: 15.86 kB / 0.8176 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.00819, allocations: 0 / 0.8176 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001556/0.008346, allocations: 123.2 kB / 0.8177 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.726e-05/0.008363, allocations: 7.891 kB / 0.8177 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.245e-05/0.008386, allocations: 3.984 kB / 0.8177 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.925e-05/0.008435, allocations: 7.938 kB / 0.8177 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.402e-05/0.008469, allocations: 11.98 kB / 0.8178 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/0.008476, allocations: 0 / 0.8178 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.459e-05/0.00853, allocations: 131.1 kB / 0.8179 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1e-07/0.008531, allocations: 0 / 0.8179 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000219/0.00875, allocations: 21.45 kB / 0.8179 GB, free: 11.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: 3 ($whenCondition1,eqnTim.tNext,eqnTim.k) * Number of discrete states: 2 (eqnTim.k,eqnTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.423e-05/0.008844, allocations: 95.25 kB / 0.818 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001185/0.008962, allocations: 52.62 kB / 0.818 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.008964, allocations: 0 / 0.818 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.349e-05/0.009017, allocations: 28.23 kB / 0.8181 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001631/0.00918, allocations: 8.562 kB / 0.8181 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005595/0.00974, allocations: 167.4 kB / 0.8182 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.929e-05/0.009779, allocations: 55.36 kB / 0.8183 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.072e-05/0.00983, allocations: 9.734 kB / 0.8183 GB, free: 11.49 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.69e-05/0.009897, allocations: 74.92 kB / 0.8184 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of SimCode: time 1.182e-06/0.009898, allocations: 0 / 0.8184 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of Templates: time 0.003084/0.01298, allocations: 0.8179 MB / 0.8192 GB, free: 10.64 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.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.125617919955403]