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.001048/0.001048, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001312/0.001312, allocations: 169 kB / 24.28 MB, free: 276 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 1.093/1.093, allocations: 177.1 MB / 204.6 MB, free: 5.637 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.832/1.832, allocations: 359 MB / 0.6055 GB, free: 11.01 MB / 0.573 GB " [Timeout remaining time 177] 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.7871 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.676e-05/2.831e-05, allocations: 5.984 kB / 0.7871 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.00228/0.002308, allocations: 1.499 MB / 0.7886 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0008004/0.003109, allocations: 0.5358 MB / 0.7891 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.515e-05/0.003164, allocations: 0 / 0.7891 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.242e-05/0.003196, allocations: 4.781 kB / 0.7891 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002637/0.00346, allocations: 28.84 kB / 0.7891 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001729/0.003633, allocations: 35.83 kB / 0.7892 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.738e-05/0.00373, allocations: 54.66 kB / 0.7892 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.003833, allocations: 4 kB / 0.7892 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001792/0.004012, allocations: 47.83 kB / 0.7893 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.074e-05/0.004093, allocations: 19.97 kB / 0.7893 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.237e-05/0.004115, allocations: 8 kB / 0.7893 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.421e-05/0.004169, allocations: 11.98 kB / 0.7893 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.946e-05/0.004189, allocations: 8 kB / 0.7893 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.45e-05/0.004233, allocations: 25.31 kB / 0.7893 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001494/0.004383, allocations: 43.88 kB / 0.7894 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.004386, allocations: 0 / 0.7894 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.413e-06/0.004388, allocations: 0 / 0.7894 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.632e-06/0.004394, allocations: 8.531 kB / 0.7894 GB, free: 10.49 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.000544/0.004938, allocations: 378.2 kB / 0.7898 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.004985, allocations: 11.97 kB / 0.7898 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001712/0.005156, allocations: 26.39 kB / 0.7898 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001099/0.005266, allocations: 112.6 kB / 0.7899 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.005282, allocations: 384 / 0.7899 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.912e-05/0.005301, allocations: 9.562 kB / 0.7899 GB, free: 9.906 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001248/0.005426, allocations: 66.92 kB / 0.79 GB, free: 9.832 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.005439, allocations: 4.172 kB / 0.79 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.00545, allocations: 384 / 0.79 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.256e-05/0.005463, allocations: 8.469 kB / 0.79 GB, free: 9.82 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.719e-05/0.00551, allocations: 18.42 kB / 0.79 GB, free: 9.805 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004105/0.00592, allocations: 279.7 kB / 0.7903 GB, free: 9.496 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001834/0.006104, allocations: 67.16 kB / 0.7903 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.517e-05/0.006139, allocations: 19.67 kB / 0.7903 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.623e-05/0.006155, allocations: 4 kB / 0.7904 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001381/0.006293, allocations: 85.44 kB / 0.7904 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.874e-06/0.006295, allocations: 0.7188 kB / 0.7904 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.000223/0.006518, allocations: 85.86 kB / 0.7905 GB, free: 9.203 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.108e-05/0.006559, allocations: 51.94 kB / 0.7906 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.548e-05/0.006645, allocations: 167.5 kB / 0.7907 GB, free: 8.961 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.00666, allocations: 29.64 kB / 0.7908 GB, free: 8.926 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.514e-05/0.006705, allocations: 130.9 kB / 0.7909 GB, free: 8.793 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.504e-05/0.00673, allocations: 15.86 kB / 0.7909 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.959e-05/0.006769, allocations: 35.36 kB / 0.7909 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.006898, allocations: 496.7 kB / 0.7914 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.143e-05/0.00693, allocations: 12.69 kB / 0.7914 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.642e-05/0.006956, allocations: 15.92 kB / 0.7914 GB, free: 8.211 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.66e-05/0.007023, allocations: 44.42 kB / 0.7915 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.007024, allocations: 0 / 0.7915 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001079/0.007132, allocations: 74.5 kB / 0.7915 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.007147, allocations: 4 kB / 0.7915 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.007152, allocations: 5.375 kB / 0.7916 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.007165, allocations: 0 / 0.7916 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.068e-05/0.007236, allocations: 11.98 kB / 0.7916 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.007243, allocations: 12 kB / 0.7916 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.956e-05/0.007283, allocations: 13.7 kB / 0.7916 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.878e-06/0.007292, allocations: 4 kB / 0.7916 GB, free: 8.039 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.357e-05/0.007376, allocations: 164.5 kB / 0.7917 GB, free: 7.867 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.288e-05/0.007389, allocations: 7.938 kB / 0.7918 GB, free: 7.859 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001661/0.007555, allocations: 98.59 kB / 0.7918 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.007558, allocations: 4 kB / 0.7919 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.007563, allocations: 0.8438 kB / 0.7919 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.007566, allocations: 0 / 0.7919 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.917e-05/0.007666, allocations: 130.3 kB / 0.792 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.007667, allocations: 0 / 0.792 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.642e-05/0.007704, allocations: 8 kB / 0.792 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.007709, allocations: 3.938 kB / 0.792 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.007721, allocations: 12.83 kB / 0.792 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.007723, allocations: 0 / 0.792 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.624e-06/0.007724, allocations: 0 / 0.792 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001293/0.007853, allocations: 122.6 kB / 0.7921 GB, free: 7.434 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.61e-05/0.007869, allocations: 11.89 kB / 0.7921 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.089e-05/0.00789, allocations: 3.938 kB / 0.7921 GB, free: 7.418 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.154e-05/0.007922, allocations: 11.98 kB / 0.7921 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.782e-05/0.00796, allocations: 7.984 kB / 0.7922 GB, free: 7.398 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.007966, allocations: 0 / 0.7922 GB, free: 7.398 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.415e-05/0.00801, allocations: 133.5 kB / 0.7923 GB, free: 7.27 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.00801, allocations: 0 / 0.7923 GB, free: 7.27 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001446/0.008154, allocations: 15.94 kB / 0.7923 GB, free: 7.254 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.0001103/0.008265, allocations: 103.2 kB / 0.7924 GB, free: 7.145 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001263/0.008391, allocations: 52.58 kB / 0.7924 GB, free: 7.09 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.008393, allocations: 0.5312 kB / 0.7924 GB, free: 7.09 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.718e-05/0.00844, allocations: 31.8 kB / 0.7925 GB, free: 7.055 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001373/0.008577, allocations: 15.95 kB / 0.7925 GB, free: 7.043 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006053/0.009183, allocations: 168 kB / 0.7926 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.433e-05/0.009227, allocations: 63.34 kB / 0.7927 GB, free: 6.77 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.101e-05/0.009268, allocations: 5.688 kB / 0.7927 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.072e-05/0.009309, allocations: 21.11 kB / 0.7927 GB, free: 6.746 MB / 0.7448 GB Notification: Performance of SimCode: time 1.152e-06/0.00931, allocations: 0 / 0.7927 GB, free: 6.746 MB / 0.7448 GB Notification: Performance of Templates: time 0.002857/0.01217, allocations: 0.7457 MB / 0.7935 GB, free: 6.031 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.295832849107683]