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.001362/0.001362, allocations: 91.56 kB / 20.46 MB, free: 4.133 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.001486/0.001486, allocations: 161 kB / 23.82 MB, free: 0.7695 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.8972/0.8972, allocations: 177.1 MB / 204.2 MB, free: 5.652 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.751/1.751, allocations: 359 MB / 0.6052 GB, free: 11.06 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.182e-06/1.182e-06, allocations: 0 / 0.7871 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.429e-05/1.547e-05, allocations: 6.25 kB / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.001616/0.001631, allocations: 1.503 MB / 0.7886 GB, free: 11 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0006479/0.002279, allocations: 0.5397 MB / 0.7891 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.199e-05/0.002311, allocations: 0 / 0.7891 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.64e-05/0.002337, allocations: 0.7188 kB / 0.7891 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001912/0.002529, allocations: 33.38 kB / 0.7891 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001201/0.002649, allocations: 35.89 kB / 0.7892 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.194e-05/0.002721, allocations: 47.86 kB / 0.7892 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.964e-05/0.00281, allocations: 9.328 kB / 0.7892 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001269/0.002937, allocations: 47.83 kB / 0.7893 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.865e-05/0.002996, allocations: 11.98 kB / 0.7893 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.78e-05/0.003014, allocations: 8 kB / 0.7893 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 4.226e-05/0.003056, allocations: 21.56 kB / 0.7893 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.591e-05/0.003072, allocations: 7.938 kB / 0.7893 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.338e-05/0.003105, allocations: 15.98 kB / 0.7893 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001023/0.003207, allocations: 43.88 kB / 0.7894 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.003e-06/0.003209, allocations: 3.438 kB / 0.7894 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.71e-07/0.00321, allocations: 3.938 kB / 0.7894 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.477e-06/0.003213, allocations: 7.938 kB / 0.7894 GB, free: 10.18 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.0004173/0.003631, allocations: 380.6 kB / 0.7898 GB, free: 9.77 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.003665, allocations: 8.031 kB / 0.7898 GB, free: 9.762 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001328/0.003798, allocations: 20.86 kB / 0.7898 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.025e-05/0.003878, allocations: 117.1 kB / 0.7899 GB, free: 9.602 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.003891, allocations: 5.031 kB / 0.7899 GB, free: 9.598 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.055e-05/0.003901, allocations: 4.375 kB / 0.7899 GB, free: 9.594 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.356e-05/0.003995, allocations: 67.45 kB / 0.79 GB, free: 9.52 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.302e-06/0.004001, allocations: 0.9375 kB / 0.79 GB, free: 9.52 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.004011, allocations: 384 / 0.79 GB, free: 9.52 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.00402, allocations: 8.875 kB / 0.79 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.08e-05/0.00406, allocations: 23.92 kB / 0.79 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003174/0.004378, allocations: 272.2 kB / 0.7903 GB, free: 9.188 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001494/0.004527, allocations: 68.53 kB / 0.7903 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.214e-05/0.004559, allocations: 23.67 kB / 0.7904 GB, free: 9.082 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.428e-05/0.004574, allocations: 4 kB / 0.7904 GB, free: 9.078 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001082/0.004682, allocations: 74.17 kB / 0.7904 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.472e-06/0.004683, allocations: 0 / 0.7904 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002124/0.004896, allocations: 93.91 kB / 0.7905 GB, free: 8.895 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/0.004935, allocations: 52 kB / 0.7906 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.06e-05/0.005016, allocations: 166.1 kB / 0.7907 GB, free: 8.652 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.437e-05/0.00503, allocations: 34.42 kB / 0.7908 GB, free: 8.613 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.542e-05/0.005076, allocations: 126.9 kB / 0.7909 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.649e-05/0.005102, allocations: 20.83 kB / 0.7909 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.749e-05/0.00514, allocations: 31.36 kB / 0.7909 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.005262, allocations: 497.1 kB / 0.7914 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.831e-05/0.005291, allocations: 11.98 kB / 0.7914 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.304e-05/0.005314, allocations: 15.92 kB / 0.7914 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.565e-05/0.005369, allocations: 37.91 kB / 0.7915 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.005371, allocations: 0 / 0.7915 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9) (initialization): time 9.653e-05/0.005468, allocations: 81.55 kB / 0.7915 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.005482, allocations: 4 kB / 0.7915 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.005487, allocations: 4.047 kB / 0.7916 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.005501, allocations: 7.922 kB / 0.7916 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.685e-05/0.005558, allocations: 15.05 kB / 0.7916 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.005564, allocations: 12 kB / 0.7916 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.344e-05/0.005598, allocations: 7.891 kB / 0.7916 GB, free: 7.73 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.005606, allocations: 4 kB / 0.7916 GB, free: 7.727 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 7.942e-05/0.005686, allocations: 156.6 kB / 0.7917 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.268e-05/0.005698, allocations: 11.92 kB / 0.7918 GB, free: 7.551 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001467/0.005845, allocations: 99.03 kB / 0.7919 GB, free: 7.453 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.005847, allocations: 4 kB / 0.7919 GB, free: 7.449 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.005851, allocations: 0 / 0.7919 GB, free: 7.449 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.005854, allocations: 0 / 0.7919 GB, free: 7.449 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.695e-05/0.005951, allocations: 137.2 kB / 0.792 GB, free: 7.281 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.005953, allocations: 0 / 0.792 GB, free: 7.281 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.106e-05/0.005984, allocations: 8.562 kB / 0.792 GB, free: 7.273 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.005988, allocations: 4.844 kB / 0.792 GB, free: 7.27 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.809e-06/0.005997, allocations: 7.984 kB / 0.792 GB, free: 7.262 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.005999, allocations: 0 / 0.792 GB, free: 7.262 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.006001, allocations: 1.031 kB / 0.792 GB, free: 7.262 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001215/0.006122, allocations: 120.4 kB / 0.7921 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.678e-05/0.006139, allocations: 16.92 kB / 0.7921 GB, free: 7.105 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.931e-05/0.006158, allocations: 3.938 kB / 0.7921 GB, free: 7.102 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.744e-05/0.006186, allocations: 8 kB / 0.7921 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.194e-05/0.006228, allocations: 9.547 kB / 0.7922 GB, free: 7.086 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/0.006238, allocations: 7.984 kB / 0.7922 GB, free: 7.078 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.312e-05/0.006281, allocations: 123.2 kB / 0.7923 GB, free: 6.957 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.006281, allocations: 0 / 0.7923 GB, free: 6.957 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001327/0.006414, allocations: 20.75 kB / 0.7923 GB, free: 6.938 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 7.663e-05/0.00649, allocations: 96.19 kB / 0.7924 GB, free: 6.836 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001237/0.006614, allocations: 56.06 kB / 0.7924 GB, free: 6.777 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.006615, allocations: 1.219 kB / 0.7925 GB, free: 6.777 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.68e-05/0.006662, allocations: 35.8 kB / 0.7925 GB, free: 6.738 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001182/0.00678, allocations: 11.98 kB / 0.7925 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005349/0.007315, allocations: 166.9 kB / 0.7927 GB, free: 6.535 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.609e-05/0.007351, allocations: 64.81 kB / 0.7927 GB, free: 6.453 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.386e-05/0.007385, allocations: 7.656 kB / 0.7927 GB, free: 6.449 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.095e-05/0.007416, allocations: 12.5 kB / 0.7927 GB, free: 6.438 MB / 0.7448 GB Notification: Performance of SimCode: time 5.91e-07/0.007416, allocations: 3.938 kB / 0.7927 GB, free: 6.434 MB / 0.7448 GB Notification: Performance of Templates: time 0.002398/0.009814, allocations: 0.761 MB / 0.7935 GB, free: 5.703 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.7788604171946645]