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.001077/0.001077, allocations: 83.59 kB / 20.45 MB, free: 4.113 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.00151/0.00151, allocations: 165 kB / 23.82 MB, free: 0.7422 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.9925/0.9925, allocations: 177.1 MB / 204.2 MB, free: 5.246 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.808/1.808, allocations: 359 MB / 0.6052 GB, free: 11.05 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.322e-06/1.322e-06, allocations: 0 / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.484e-05/2.616e-05, allocations: 4.984 kB / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.001896/0.001922, allocations: 1.504 MB / 0.7886 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.000741/0.002663, allocations: 0.5439 MB / 0.7891 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.938e-05/0.002702, allocations: 0 / 0.7891 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.877e-05/0.002731, allocations: 2.281 kB / 0.7891 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002115/0.002942, allocations: 27.8 kB / 0.7891 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001367/0.003079, allocations: 31.89 kB / 0.7892 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.689e-05/0.003156, allocations: 55.78 kB / 0.7892 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.439e-05/0.00324, allocations: 9.938 kB / 0.7892 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001439/0.003384, allocations: 39.89 kB / 0.7893 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.981e-05/0.003454, allocations: 27.89 kB / 0.7893 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.755e-05/0.003472, allocations: 4 kB / 0.7893 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 4.649e-05/0.003518, allocations: 16 kB / 0.7893 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.615e-05/0.003534, allocations: 9.547 kB / 0.7893 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.818e-05/0.003572, allocations: 23.91 kB / 0.7893 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001147/0.003687, allocations: 43.88 kB / 0.7894 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.003689, allocations: 0 / 0.7894 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.372e-06/0.003691, allocations: 1.094 kB / 0.7894 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.003696, allocations: 0 / 0.7894 GB, free: 10.16 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.0004551/0.004151, allocations: 390.2 kB / 0.7898 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.004188, allocations: 8.031 kB / 0.7898 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001462/0.004335, allocations: 19.47 kB / 0.7898 GB, free: 9.719 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.00446, allocations: 116.6 kB / 0.7899 GB, free: 9.578 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.004478, allocations: 4.312 kB / 0.7899 GB, free: 9.574 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.923e-05/0.004498, allocations: 8.375 kB / 0.7899 GB, free: 9.566 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001376/0.004635, allocations: 62.94 kB / 0.79 GB, free: 9.496 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.004644, allocations: 4.172 kB / 0.79 GB, free: 9.492 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.004654, allocations: 384 / 0.79 GB, free: 9.492 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.004662, allocations: 8.656 kB / 0.79 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.346e-05/0.004706, allocations: 23.91 kB / 0.79 GB, free: 9.461 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003533/0.005059, allocations: 272.2 kB / 0.7903 GB, free: 9.16 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001608/0.00522, allocations: 68.81 kB / 0.7903 GB, free: 9.082 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.048e-05/0.00525, allocations: 19.69 kB / 0.7903 GB, free: 9.059 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.824e-05/0.005268, allocations: 4 kB / 0.7903 GB, free: 9.055 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001049/0.005373, allocations: 81.62 kB / 0.7904 GB, free: 8.961 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.302e-06/0.005375, allocations: 0.9375 kB / 0.7904 GB, free: 8.961 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0001884/0.005563, allocations: 85.62 kB / 0.7905 GB, free: 8.871 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.355e-05/0.005597, allocations: 55.39 kB / 0.7906 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.247e-05/0.005669, allocations: 163.1 kB / 0.7907 GB, free: 8.629 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.238e-05/0.005681, allocations: 25.7 kB / 0.7907 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.218e-05/0.005724, allocations: 138.8 kB / 0.7909 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.441e-05/0.005748, allocations: 21.23 kB / 0.7909 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.625e-05/0.005784, allocations: 31.36 kB / 0.7909 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.005903, allocations: 492.1 kB / 0.7914 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.947e-05/0.005933, allocations: 15.98 kB / 0.7914 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.142e-05/0.005954, allocations: 13.69 kB / 0.7914 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.893e-05/0.006013, allocations: 39.67 kB / 0.7915 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.006015, allocations: 0 / 0.7915 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9) (initialization): time 9.696e-05/0.006112, allocations: 77.55 kB / 0.7915 GB, free: 7.754 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.006126, allocations: 4.844 kB / 0.7915 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.006131, allocations: 4 kB / 0.7915 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.006146, allocations: 0.8438 kB / 0.7915 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.356e-05/0.00621, allocations: 15.98 kB / 0.7916 GB, free: 7.73 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.006215, allocations: 8.25 kB / 0.7916 GB, free: 7.723 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.372e-05/0.006249, allocations: 9.172 kB / 0.7916 GB, free: 7.715 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.006258, allocations: 4 kB / 0.7916 GB, free: 7.711 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 6.927e-05/0.006327, allocations: 157.4 kB / 0.7917 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.155e-05/0.006339, allocations: 7.938 kB / 0.7917 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001484/0.006487, allocations: 98.81 kB / 0.7918 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.006491, allocations: 7.938 kB / 0.7918 GB, free: 7.434 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.006494, allocations: 0 / 0.7918 GB, free: 7.434 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.006499, allocations: 5.359 kB / 0.7918 GB, free: 7.43 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.671e-05/0.006585, allocations: 132.6 kB / 0.792 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.006586, allocations: 0 / 0.792 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.642e-05/0.006623, allocations: 13.41 kB / 0.792 GB, free: 7.254 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.471e-06/0.006628, allocations: 7.938 kB / 0.792 GB, free: 7.246 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.096e-06/0.006636, allocations: 4 kB / 0.792 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/0.006638, allocations: 0 / 0.792 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.006639, allocations: 2.938 kB / 0.792 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001122/0.006751, allocations: 120.4 kB / 0.7921 GB, free: 7.102 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.613e-05/0.006767, allocations: 15.88 kB / 0.7921 GB, free: 7.086 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.894e-05/0.006786, allocations: 7.938 kB / 0.7921 GB, free: 7.078 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.67e-05/0.006813, allocations: 4 kB / 0.7921 GB, free: 7.074 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.617e-05/0.006849, allocations: 7.984 kB / 0.7921 GB, free: 7.066 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-06/0.006854, allocations: 0 / 0.7921 GB, free: 7.066 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.007e-05/0.006894, allocations: 135.3 kB / 0.7923 GB, free: 6.934 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.006894, allocations: 0.5 kB / 0.7923 GB, free: 6.934 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001323/0.007027, allocations: 13.94 kB / 0.7923 GB, free: 6.922 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 8.528e-05/0.007112, allocations: 104.9 kB / 0.7924 GB, free: 6.812 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000112/0.007224, allocations: 56.06 kB / 0.7924 GB, free: 6.754 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.007226, allocations: 0 / 0.7924 GB, free: 6.754 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.197e-05/0.007268, allocations: 32.48 kB / 0.7925 GB, free: 6.719 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001168/0.007384, allocations: 11.88 kB / 0.7925 GB, free: 6.711 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005284/0.007913, allocations: 177.9 kB / 0.7927 GB, free: 6.508 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.138e-05/0.007944, allocations: 59.36 kB / 0.7927 GB, free: 6.43 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.536e-05/0.00798, allocations: 10.08 kB / 0.7927 GB, free: 6.422 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.655e-05/0.008016, allocations: 12.5 kB / 0.7927 GB, free: 6.41 MB / 0.7448 GB Notification: Performance of SimCode: time 8.32e-07/0.008017, allocations: 0 / 0.7927 GB, free: 6.41 MB / 0.7448 GB Notification: Performance of Templates: time 0.002502/0.01052, allocations: 0.7422 MB / 0.7935 GB, free: 5.695 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: 5.248393238987774]