Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001563/0.001563, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001789/0.001789, allocations: 169.3 kB / 23.02 MB, free: 1.555 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.9965/0.9965, allocations: 177.1 MB / 203.4 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.184/2.184, allocations: 429.5 MB / 0.6733 GB, free: 4.031 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.8782 GB, free: 5.191 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.438e-05/2.609e-05, allocations: 2.969 kB / 0.8782 GB, free: 5.188 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.001939/0.001965, allocations: 1.511 MB / 0.8797 GB, free: 3.688 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0006977/0.002663, allocations: 0.5437 MB / 0.8802 GB, free: 3.145 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.662e-05/0.0027, allocations: 2.719 kB / 0.8802 GB, free: 3.145 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 3.125e-05/0.002731, allocations: 0 / 0.8802 GB, free: 3.145 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.0001921/0.002923, allocations: 27.25 kB / 0.8802 GB, free: 3.121 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001227/0.003046, allocations: 32.72 kB / 0.8802 GB, free: 3.09 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 8.472e-05/0.00313, allocations: 59.77 kB / 0.8803 GB, free: 3.031 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.003235, allocations: 7.984 kB / 0.8803 GB, free: 3.023 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001437/0.003378, allocations: 33.58 kB / 0.8803 GB, free: 2.992 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 6.975e-05/0.003448, allocations: 23.89 kB / 0.8804 GB, free: 2.969 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.707e-05/0.003465, allocations: 4 kB / 0.8804 GB, free: 2.965 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 4.631e-05/0.003511, allocations: 19.94 kB / 0.8804 GB, free: 2.945 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.714e-05/0.003529, allocations: 13.5 kB / 0.8804 GB, free: 2.934 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 3.643e-05/0.003565, allocations: 23.92 kB / 0.8804 GB, free: 2.91 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001032/0.003668, allocations: 43.88 kB / 0.8805 GB, free: 2.867 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.00367, allocations: 0 / 0.8805 GB, free: 2.867 MB / 0.7917 GB Notification: Performance of FrontEnd: time 6.71e-07/0.003671, allocations: 3.031 kB / 0.8805 GB, free: 2.867 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 3.527e-06/0.003674, allocations: 0 / 0.8805 GB, free: 2.867 MB / 0.7917 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.0004501/0.004124, allocations: 388.5 kB / 0.8808 GB, free: 2.453 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.004164, allocations: 8.031 kB / 0.8808 GB, free: 2.445 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001357/0.0043, allocations: 20.83 kB / 0.8809 GB, free: 2.426 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.25e-05/0.004392, allocations: 117.3 kB / 0.881 GB, free: 2.285 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.004405, allocations: 6.031 kB / 0.881 GB, free: 2.281 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.324e-05/0.004419, allocations: 4.375 kB / 0.881 GB, free: 2.277 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.699e-05/0.004515, allocations: 62.94 kB / 0.881 GB, free: 2.207 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.004525, allocations: 4.172 kB / 0.8811 GB, free: 2.203 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.004534, allocations: 384 / 0.8811 GB, free: 2.203 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.004542, allocations: 5.281 kB / 0.8811 GB, free: 2.199 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.067e-05/0.004583, allocations: 23.92 kB / 0.8811 GB, free: 2.176 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000315/0.004898, allocations: 287.6 kB / 0.8814 GB, free: 1.859 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001476/0.005045, allocations: 67.16 kB / 0.8814 GB, free: 1.781 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.902e-05/0.005074, allocations: 23.67 kB / 0.8814 GB, free: 1.754 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/0.005091, allocations: 0 / 0.8814 GB, free: 1.754 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001034/0.005194, allocations: 76.92 kB / 0.8815 GB, free: 1.664 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=7): time 9.92e-07/0.005195, allocations: 0 / 0.8815 GB, free: 1.664 MB / 0.7917 GB Notification: Performance of matching and sorting (n=7): time 0.0001684/0.005364, allocations: 81.66 kB / 0.8816 GB, free: 1.578 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.035e-05/0.005394, allocations: 59.41 kB / 0.8817 GB, free: 1.508 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.575e-05/0.00546, allocations: 157.9 kB / 0.8818 GB, free: 1.336 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 1.253e-05/0.005472, allocations: 33.69 kB / 0.8818 GB, free: 1.297 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 3.702e-05/0.005509, allocations: 138.8 kB / 0.882 GB, free: 1.156 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 2.125e-05/0.005531, allocations: 19.97 kB / 0.882 GB, free: 1.137 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.144e-05/0.005562, allocations: 27.36 kB / 0.882 GB, free: 1.102 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 9.924e-05/0.005661, allocations: 0.4884 MB / 0.8825 GB, free: 0.6016 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.495e-05/0.005686, allocations: 11.98 kB / 0.8825 GB, free: 0.5898 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.101e-05/0.005707, allocations: 19.98 kB / 0.8825 GB, free: 0.5703 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.897e-05/0.005756, allocations: 35.81 kB / 0.8826 GB, free: 0.5312 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.005758, allocations: 0 / 0.8826 GB, free: 0.5312 MB / 0.7917 GB Notification: Performance of matching and sorting (n=9) (initialization): time 8.263e-05/0.005841, allocations: 85.5 kB / 0.8826 GB, free: 452 kB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 9.969e-06/0.005851, allocations: 4 kB / 0.8826 GB, free: 448 kB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.005854, allocations: 0 / 0.8826 GB, free: 448 kB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.005868, allocations: 8 kB / 0.8826 GB, free: 440 kB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.09e-05/0.005919, allocations: 11.98 kB / 0.8827 GB, free: 428 kB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.005925, allocations: 7.938 kB / 0.8827 GB, free: 420 kB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.868e-05/0.005953, allocations: 3.938 kB / 0.8827 GB, free: 416 kB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.513e-06/0.00596, allocations: 4 kB / 0.8827 GB, free: 412 kB / 0.7917 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 5.836e-05/0.006018, allocations: 156.6 kB / 0.8828 GB, free: 244 kB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.154e-05/0.00603, allocations: 15.88 kB / 0.8828 GB, free: 228 kB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002912/0.006321, allocations: 93.73 kB / 0.8829 GB, free: 128 kB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.006326, allocations: 4 kB / 0.8829 GB, free: 124 kB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.006331, allocations: 7.984 kB / 0.8829 GB, free: 116 kB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.006336, allocations: 0 / 0.8829 GB, free: 116 kB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001262/0.006462, allocations: 128.6 kB / 0.8831 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.006464, allocations: 0 / 0.8831 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.795e-05/0.006532, allocations: 8 kB / 0.8831 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-06/0.006536, allocations: 3.938 kB / 0.8831 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.006545, allocations: 3.938 kB / 0.8831 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.006548, allocations: 4 kB / 0.8831 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.00655, allocations: 3.984 kB / 0.8831 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001448/0.006695, allocations: 128.5 kB / 0.8832 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.97e-05/0.006715, allocations: 11.98 kB / 0.8832 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.138e-05/0.006736, allocations: 3.938 kB / 0.8832 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.915e-05/0.006786, allocations: 4 kB / 0.8832 GB, free: 15.76 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.868e-05/0.006824, allocations: 7.984 kB / 0.8832 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-06/0.006832, allocations: 4 kB / 0.8832 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.758e-05/0.00687, allocations: 127.2 kB / 0.8834 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.00687, allocations: 0 / 0.8834 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001463/0.007016, allocations: 16 kB / 0.8834 GB, free: 15.61 MB / 0.8073 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 9.229e-05/0.007108, allocations: 103.2 kB / 0.8835 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001178/0.007226, allocations: 51.59 kB / 0.8835 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.007228, allocations: 4 kB / 0.8835 GB, free: 15.44 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.108e-05/0.007269, allocations: 35.67 kB / 0.8836 GB, free: 15.4 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001186/0.007388, allocations: 10.06 kB / 0.8836 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005031/0.007891, allocations: 177.1 kB / 0.8837 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.331e-05/0.007924, allocations: 59.34 kB / 0.8838 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.309e-05/0.007957, allocations: 8 kB / 0.8838 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.176e-05/0.007989, allocations: 12.5 kB / 0.8838 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of SimCode: time 6.51e-07/0.00799, allocations: 4 kB / 0.8838 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of Templates: time 0.002258/0.01025, allocations: 0.7455 MB / 0.8845 GB, free: 14.36 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.636013339273632]