Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001324/0.001324, 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.001505/0.001505, 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 0.9471/0.9471, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.763/1.763, allocations: 359 MB / 0.6055 GB, free: 10.89 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.EquationOfTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|eqnTim.nDay|eqnTim.eqnTim",fileNamePrefix="Buildings_11_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_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 0.7876 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.45e-05/2.629e-05, allocations: 2.312 kB / 0.7876 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002697/0.002724, allocations: 1.504 MB / 0.789 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0009293/0.003653, allocations: 0.539 MB / 0.7896 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.619e-05/0.003699, allocations: 0.6875 kB / 0.7896 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.867e-05/0.003728, allocations: 0 / 0.7896 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002247/0.003953, allocations: 32.69 kB / 0.7896 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001559/0.004109, allocations: 28.55 kB / 0.7896 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.662e-05/0.004195, allocations: 51.86 kB / 0.7897 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.877e-05/0.004274, allocations: 8.703 kB / 0.7897 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001663/0.00444, allocations: 53.42 kB / 0.7897 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.257e-05/0.004523, allocations: 15.98 kB / 0.7898 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.791e-05/0.004541, allocations: 4 kB / 0.7898 GB, free: 9.945 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.501e-05/0.004596, allocations: 15.98 kB / 0.7898 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.886e-05/0.004615, allocations: 13.27 kB / 0.7898 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.187e-05/0.004646, allocations: 11.98 kB / 0.7898 GB, free: 9.906 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000113/0.004759, allocations: 47.88 kB / 0.7898 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.004762, allocations: 3.938 kB / 0.7898 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.62e-07/0.004763, allocations: 1.594 kB / 0.7898 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.307e-06/0.004766, allocations: 0 / 0.7898 GB, free: 9.855 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004508/0.005217, allocations: 388 kB / 0.7902 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.005256, allocations: 8.031 kB / 0.7902 GB, free: 9.438 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001537/0.00541, allocations: 24.86 kB / 0.7902 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.081e-05/0.005501, allocations: 112.5 kB / 0.7904 GB, free: 9.277 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.005516, allocations: 4.375 kB / 0.7904 GB, free: 9.273 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.184e-05/0.005528, allocations: 4.375 kB / 0.7904 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.8e-05/0.005626, allocations: 62.92 kB / 0.7904 GB, free: 9.199 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.005634, allocations: 4.188 kB / 0.7904 GB, free: 9.195 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.724e-06/0.005642, allocations: 0.9375 kB / 0.7904 GB, free: 9.195 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.005649, allocations: 3.938 kB / 0.7904 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.145e-05/0.00569, allocations: 20.66 kB / 0.7904 GB, free: 9.172 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003365/0.006027, allocations: 260.8 kB / 0.7907 GB, free: 8.891 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001529/0.006179, allocations: 59.84 kB / 0.7908 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.838e-05/0.006208, allocations: 20.69 kB / 0.7908 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.006225, allocations: 4 kB / 0.7908 GB, free: 8.793 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001112/0.006336, allocations: 77.42 kB / 0.7909 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.362e-06/0.006337, allocations: 0 / 0.7909 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0001894/0.006527, allocations: 79 kB / 0.7909 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.71e-05/0.006564, allocations: 59.39 kB / 0.791 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.823e-05/0.006642, allocations: 157.9 kB / 0.7911 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/0.006658, allocations: 30.89 kB / 0.7912 GB, free: 8.344 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.041e-05/0.006708, allocations: 134.9 kB / 0.7913 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.759e-05/0.006736, allocations: 19.84 kB / 0.7913 GB, free: 8.188 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.367e-05/0.00678, allocations: 27.89 kB / 0.7913 GB, free: 8.152 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.006918, allocations: 0.4884 MB / 0.7918 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.996e-05/0.006948, allocations: 16.77 kB / 0.7918 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.283e-05/0.006971, allocations: 8 kB / 0.7918 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.783e-05/0.007029, allocations: 32.58 kB / 0.7919 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.00703, allocations: 0 / 0.7919 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001175/0.007148, allocations: 74.83 kB / 0.7919 GB, free: 7.516 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.007163, allocations: 7.938 kB / 0.7919 GB, free: 7.508 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.007167, allocations: 3.938 kB / 0.792 GB, free: 7.504 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.007179, allocations: 6.219 kB / 0.792 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.669e-05/0.007246, allocations: 8 kB / 0.792 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.117e-06/0.00725, allocations: 3.984 kB / 0.792 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.559e-05/0.007295, allocations: 11.89 kB / 0.792 GB, free: 7.477 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.007303, allocations: 0 / 0.792 GB, free: 7.477 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: 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 8.916e-05/0.007392, allocations: 171.5 kB / 0.7921 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.66e-05/0.007409, allocations: 8.125 kB / 0.7922 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001559/0.007565, allocations: 89.72 kB / 0.7922 GB, free: 7.203 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.00757, allocations: 7.984 kB / 0.7922 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.524e-06/0.007572, allocations: 0 / 0.7922 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.007576, allocations: 0 / 0.7922 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001121/0.007688, allocations: 113.2 kB / 0.7924 GB, free: 7.059 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.00769, allocations: 0 / 0.7924 GB, free: 7.059 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.897e-05/0.007739, allocations: 21.36 kB / 0.7924 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.007741, allocations: 0 / 0.7924 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.007748, allocations: 0 / 0.7924 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.007751, allocations: 3.938 kB / 0.7924 GB, free: 7.035 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.007753, allocations: 0.625 kB / 0.7924 GB, free: 7.035 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001455/0.007898, allocations: 120.8 kB / 0.7925 GB, free: 6.895 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.528e-05/0.007913, allocations: 11.89 kB / 0.7925 GB, free: 6.883 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.698e-05/0.00793, allocations: 4.547 kB / 0.7925 GB, free: 6.879 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.053e-05/0.007971, allocations: 12.78 kB / 0.7925 GB, free: 6.867 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.009e-05/0.008001, allocations: 3.984 kB / 0.7925 GB, free: 6.863 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.802e-06/0.008008, allocations: 5.094 kB / 0.7925 GB, free: 6.859 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.486e-05/0.008053, allocations: 123.2 kB / 0.7926 GB, free: 6.738 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.7e-07/0.008053, allocations: 0 / 0.7926 GB, free: 6.738 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002124/0.008265, allocations: 16.97 kB / 0.7927 GB, free: 6.723 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: 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 0.000116/0.008381, allocations: 104.8 kB / 0.7928 GB, free: 6.613 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001108/0.008492, allocations: 47.66 kB / 0.7928 GB, free: 6.562 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.008495, allocations: 4 kB / 0.7928 GB, free: 6.559 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.757e-05/0.008543, allocations: 31.61 kB / 0.7928 GB, free: 6.523 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001567/0.0087, allocations: 4.812 kB / 0.7928 GB, free: 6.52 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005712/0.009271, allocations: 166.9 kB / 0.793 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.991e-05/0.009311, allocations: 59.34 kB / 0.7931 GB, free: 6.25 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.619e-05/0.009357, allocations: 10.05 kB / 0.7931 GB, free: 6.242 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.529e-05/0.009422, allocations: 78.14 kB / 0.7931 GB, free: 6.164 MB / 0.7448 GB Notification: Performance of SimCode: time 7.21e-07/0.009423, allocations: 1.406 kB / 0.7932 GB, free: 6.164 MB / 0.7448 GB Notification: Performance of Templates: time 0.003078/0.0125, allocations: 0.8072 MB / 0.7939 GB, free: 5.391 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & ./Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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: 4.766066393814981]