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.0009363/0.0009363, allocations: 81.95 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.001385/0.001385, allocations: 166 kB / 24.87 MB, free: 9.258 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.9279/0.9279, allocations: 177.1 MB / 205.3 MB, free: 5.508 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.881/1.881, allocations: 359 MB / 0.6063 GB, free: 10.87 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.553e-06/1.553e-06, allocations: 0 / 0.7883 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.955e-05/2.11e-05, allocations: 3.75 kB / 0.7883 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.00241/0.002431, allocations: 1.503 MB / 0.7898 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0008266/0.003257, allocations: 0.5395 MB / 0.7903 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.588e-05/0.003313, allocations: 1.406 kB / 0.7903 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.177e-05/0.003345, allocations: 3.938 kB / 0.7903 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002393/0.003584, allocations: 24.92 kB / 0.7903 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001461/0.00373, allocations: 35.83 kB / 0.7904 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.682e-05/0.003807, allocations: 51.84 kB / 0.7904 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.229e-05/0.00389, allocations: 9.547 kB / 0.7904 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001501/0.00404, allocations: 39.91 kB / 0.7905 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.694e-05/0.004107, allocations: 27.89 kB / 0.7905 GB, free: 9.945 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.613e-05/0.004123, allocations: 4 kB / 0.7905 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 4.972e-05/0.004172, allocations: 13.38 kB / 0.7905 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.813e-05/0.004191, allocations: 11.98 kB / 0.7905 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.087e-05/0.004221, allocations: 19.92 kB / 0.7905 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001144/0.004336, allocations: 45.78 kB / 0.7906 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.00434, allocations: 4 kB / 0.7906 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.62e-07/0.004341, allocations: 0 / 0.7906 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.977e-06/0.004345, allocations: 0 / 0.7906 GB, free: 9.852 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.0004776/0.004822, allocations: 386.8 kB / 0.791 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.004867, allocations: 8.031 kB / 0.791 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001586/0.005026, allocations: 24.8 kB / 0.791 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.117e-05/0.005117, allocations: 112.6 kB / 0.7911 GB, free: 9.273 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.005131, allocations: 4.938 kB / 0.7911 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.758e-06/0.005141, allocations: 4.375 kB / 0.7911 GB, free: 9.266 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.852e-05/0.005239, allocations: 72.53 kB / 0.7912 GB, free: 9.188 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-06/0.005246, allocations: 192 / 0.7912 GB, free: 9.188 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.005254, allocations: 384 / 0.7912 GB, free: 9.188 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.005259, allocations: 3.938 kB / 0.7912 GB, free: 9.184 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.323e-05/0.005293, allocations: 17.17 kB / 0.7912 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003317/0.005624, allocations: 260.3 kB / 0.7914 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001377/0.005762, allocations: 68.38 kB / 0.7915 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.536e-05/0.005787, allocations: 19.61 kB / 0.7915 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.39e-05/0.005801, allocations: 4 kB / 0.7915 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001109/0.005912, allocations: 66.36 kB / 0.7916 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.333e-06/0.005913, allocations: 0 / 0.7916 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0001669/0.00608, allocations: 85.59 kB / 0.7917 GB, free: 8.613 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.474e-05/0.006115, allocations: 61.09 kB / 0.7917 GB, free: 8.543 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.753e-05/0.006182, allocations: 157.9 kB / 0.7919 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/0.006198, allocations: 33.7 kB / 0.7919 GB, free: 8.332 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.038e-05/0.006238, allocations: 126.9 kB / 0.792 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.303e-05/0.006261, allocations: 19.84 kB / 0.7921 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.423e-05/0.006295, allocations: 28.23 kB / 0.7921 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.006418, allocations: 0.4884 MB / 0.7926 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.336e-05/0.006441, allocations: 8.641 kB / 0.7926 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.037e-05/0.006462, allocations: 11.98 kB / 0.7926 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.863e-05/0.00652, allocations: 37.61 kB / 0.7926 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-06/0.006522, allocations: 0 / 0.7926 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000103/0.006625, allocations: 73.73 kB / 0.7927 GB, free: 7.512 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.006645, allocations: 7.938 kB / 0.7927 GB, free: 7.504 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.006651, allocations: 4 kB / 0.7927 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.896e-06/0.00666, allocations: 6.406 kB / 0.7927 GB, free: 7.496 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.329e-05/0.006723, allocations: 15.92 kB / 0.7927 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.324e-06/0.006725, allocations: 0 / 0.7927 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.769e-05/0.006763, allocations: 15.89 kB / 0.7927 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.281e-06/0.006769, allocations: 0 / 0.7927 GB, free: 7.465 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.084e-05/0.00684, allocations: 157.3 kB / 0.7929 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.364e-05/0.006854, allocations: 15.86 kB / 0.7929 GB, free: 7.285 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000124/0.006978, allocations: 86.27 kB / 0.793 GB, free: 7.199 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.006981, allocations: 5.656 kB / 0.793 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.006983, allocations: 3.984 kB / 0.793 GB, free: 7.191 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.006987, allocations: 0 / 0.793 GB, free: 7.191 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.6e-05/0.007083, allocations: 117.2 kB / 0.7931 GB, free: 7.051 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.007086, allocations: 4 kB / 0.7931 GB, free: 7.047 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.782e-05/0.007124, allocations: 8.656 kB / 0.7931 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.007126, allocations: 0.9062 kB / 0.7931 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.007132, allocations: 0 / 0.7931 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.007134, allocations: 3.938 kB / 0.7931 GB, free: 7.035 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.007135, allocations: 4.844 kB / 0.7931 GB, free: 7.031 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001017/0.007237, allocations: 112.4 kB / 0.7932 GB, free: 6.898 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.558e-05/0.007252, allocations: 17.16 kB / 0.7933 GB, free: 6.883 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.205e-05/0.007274, allocations: 4 kB / 0.7933 GB, free: 6.879 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.34e-05/0.007308, allocations: 7.938 kB / 0.7933 GB, free: 6.871 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.156e-05/0.007339, allocations: 12.67 kB / 0.7933 GB, free: 6.859 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.007345, allocations: 0 / 0.7933 GB, free: 6.859 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.716e-05/0.007392, allocations: 135.3 kB / 0.7934 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.007392, allocations: 0.875 kB / 0.7934 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001377/0.00753, allocations: 12 kB / 0.7934 GB, free: 6.715 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.0001132/0.007643, allocations: 100.8 kB / 0.7935 GB, free: 6.609 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001056/0.007748, allocations: 51.58 kB / 0.7936 GB, free: 6.555 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.00775, allocations: 1.094 kB / 0.7936 GB, free: 6.555 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.607e-05/0.007786, allocations: 27.67 kB / 0.7936 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.0001172/0.007903, allocations: 8 kB / 0.7936 GB, free: 6.516 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004617/0.008365, allocations: 175.6 kB / 0.7938 GB, free: 6.32 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.741e-05/0.008403, allocations: 55.36 kB / 0.7938 GB, free: 6.246 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.987e-05/0.008442, allocations: 7.984 kB / 0.7938 GB, free: 6.238 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.161e-05/0.008504, allocations: 78.2 kB / 0.7939 GB, free: 6.16 MB / 0.7448 GB Notification: Performance of SimCode: time 7.42e-07/0.008505, allocations: 0.5 kB / 0.7939 GB, free: 6.16 MB / 0.7448 GB Notification: Performance of Templates: time 0.002429/0.01093, allocations: 0.8261 MB / 0.7947 GB, free: 5.371 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.9588415320031345]