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.001455/0.001455, allocations: 81.17 kB / 19.87 MB, free: 4.617 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.001016/0.001016, allocations: 173 kB / 23.28 MB, free: 1.219 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.9349/0.9349, allocations: 177.1 MB / 203.7 MB, free: 5.512 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.373/2.373, allocations: 438.1 MB / 0.682 GB, free: 14.17 MB / 0.6511 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 2.615e-06/2.615e-06, allocations: 0 / 0.8897 GB, free: 9.738 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.124e-05/3.385e-05, allocations: 9.484 kB / 0.8897 GB, free: 9.73 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002629/0.002663, allocations: 1.517 MB / 0.8912 GB, free: 8.203 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0009583/0.003621, allocations: 0.5258 MB / 0.8917 GB, free: 7.672 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.452e-05/0.003675, allocations: 7.938 kB / 0.8918 GB, free: 7.664 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 3.68e-05/0.003712, allocations: 7.984 kB / 0.8918 GB, free: 7.656 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.00025/0.003962, allocations: 23.8 kB / 0.8918 GB, free: 7.633 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001531/0.004115, allocations: 31.89 kB / 0.8918 GB, free: 7.602 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 9.41e-05/0.004209, allocations: 55.84 kB / 0.8919 GB, free: 7.547 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 9.909e-05/0.004308, allocations: 0 / 0.8919 GB, free: 7.547 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001956/0.004504, allocations: 51.77 kB / 0.8919 GB, free: 7.496 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 7.927e-05/0.004583, allocations: 23.97 kB / 0.8919 GB, free: 7.473 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.039e-05/0.004604, allocations: 7.984 kB / 0.8919 GB, free: 7.465 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 5.865e-05/0.004662, allocations: 8 kB / 0.892 GB, free: 7.457 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.333e-05/0.004686, allocations: 19.92 kB / 0.892 GB, free: 7.438 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 4.096e-05/0.004727, allocations: 19.97 kB / 0.892 GB, free: 7.418 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001319/0.004859, allocations: 47.81 kB / 0.892 GB, free: 7.371 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.004861, allocations: 0 / 0.892 GB, free: 7.371 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.092e-06/0.004863, allocations: 0 / 0.892 GB, free: 7.371 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.169e-06/0.004868, allocations: 0 / 0.892 GB, free: 7.371 MB / 0.8542 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.0006746/0.005542, allocations: 376.6 kB / 0.8924 GB, free: 6.969 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 6.46e-05/0.005607, allocations: 16.61 kB / 0.8924 GB, free: 6.953 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002045/0.005811, allocations: 20.83 kB / 0.8924 GB, free: 6.934 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001221/0.005933, allocations: 116.5 kB / 0.8925 GB, free: 6.793 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/0.005953, allocations: 4.375 kB / 0.8925 GB, free: 6.789 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.411e-05/0.005968, allocations: 4.375 kB / 0.8926 GB, free: 6.785 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001293/0.006097, allocations: 62.92 kB / 0.8926 GB, free: 6.715 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.006108, allocations: 192 / 0.8926 GB, free: 6.715 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.006121, allocations: 4.375 kB / 0.8926 GB, free: 6.711 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.259e-05/0.006134, allocations: 3.938 kB / 0.8926 GB, free: 6.707 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.355e-05/0.006177, allocations: 15.98 kB / 0.8926 GB, free: 6.691 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004113/0.006589, allocations: 276.2 kB / 0.8929 GB, free: 6.395 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000164/0.006753, allocations: 51.17 kB / 0.8929 GB, free: 6.332 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.052e-05/0.006783, allocations: 23.67 kB / 0.893 GB, free: 6.305 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/0.006801, allocations: 0 / 0.893 GB, free: 6.305 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001286/0.00693, allocations: 76.97 kB / 0.893 GB, free: 6.215 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=7): time 1.412e-06/0.006931, allocations: 0 / 0.893 GB, free: 6.215 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.0002141/0.007145, allocations: 81.62 kB / 0.8931 GB, free: 6.129 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.361e-05/0.007189, allocations: 51.41 kB / 0.8932 GB, free: 6.066 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.478e-05/0.007284, allocations: 165.9 kB / 0.8933 GB, free: 5.887 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.065e-05/0.007304, allocations: 33.7 kB / 0.8934 GB, free: 5.848 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.851e-05/0.007363, allocations: 130.9 kB / 0.8935 GB, free: 5.715 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.151e-05/0.007395, allocations: 19.83 kB / 0.8935 GB, free: 5.695 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.489e-05/0.007439, allocations: 27.38 kB / 0.8935 GB, free: 5.66 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001647/0.007604, allocations: 0.4884 MB / 0.894 GB, free: 5.16 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.804e-05/0.007632, allocations: 15.88 kB / 0.894 GB, free: 5.145 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.436e-05/0.007656, allocations: 11.98 kB / 0.894 GB, free: 5.133 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.873e-05/0.007715, allocations: 27.67 kB / 0.8941 GB, free: 5.102 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.007718, allocations: 4 kB / 0.8941 GB, free: 5.098 MB / 0.8542 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001146/0.007832, allocations: 65.62 kB / 0.8941 GB, free: 5.027 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.007851, allocations: 11.94 kB / 0.8941 GB, free: 5.016 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/0.007857, allocations: 4 kB / 0.8941 GB, free: 5.012 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.007874, allocations: 0 / 0.8941 GB, free: 5.012 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.819e-05/0.007952, allocations: 15.98 kB / 0.8942 GB, free: 4.996 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.007956, allocations: 0 / 0.8942 GB, free: 4.996 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.252e-05/0.007999, allocations: 3.938 kB / 0.8942 GB, free: 4.992 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.008011, allocations: 11.98 kB / 0.8942 GB, free: 4.98 MB / 0.8542 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 0.0001037/0.008115, allocations: 160.5 kB / 0.8943 GB, free: 4.812 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.557e-05/0.00813, allocations: 7.891 kB / 0.8943 GB, free: 4.805 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001838/0.008314, allocations: 93.72 kB / 0.8944 GB, free: 4.703 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.008317, allocations: 4.188 kB / 0.8944 GB, free: 4.699 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.008319, allocations: 0 / 0.8944 GB, free: 4.699 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.008324, allocations: 3.984 kB / 0.8944 GB, free: 4.695 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001161/0.00844, allocations: 121.2 kB / 0.8945 GB, free: 4.551 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.008442, allocations: 0 / 0.8945 GB, free: 4.551 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.572e-05/0.008488, allocations: 8 kB / 0.8946 GB, free: 4.543 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.008492, allocations: 4 kB / 0.8946 GB, free: 4.539 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.008502, allocations: 3.984 kB / 0.8946 GB, free: 4.535 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-06/0.008505, allocations: 3.938 kB / 0.8946 GB, free: 4.531 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.008506, allocations: 0 / 0.8946 GB, free: 4.531 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001474/0.008654, allocations: 132.6 kB / 0.8947 GB, free: 4.379 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.763e-05/0.008671, allocations: 15.89 kB / 0.8947 GB, free: 4.363 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.172e-05/0.008693, allocations: 8 kB / 0.8947 GB, free: 4.355 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.886e-05/0.008732, allocations: 3.938 kB / 0.8947 GB, free: 4.352 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.759e-05/0.00878, allocations: 7.984 kB / 0.8947 GB, free: 4.344 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.817e-06/0.008788, allocations: 3.984 kB / 0.8947 GB, free: 4.34 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 7.258e-05/0.008861, allocations: 123.2 kB / 0.8948 GB, free: 4.219 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.008861, allocations: 0 / 0.8948 GB, free: 4.219 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000232/0.009093, allocations: 16 kB / 0.8949 GB, free: 4.203 MB / 0.8542 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.0001415/0.009235, allocations: 99.19 kB / 0.895 GB, free: 4.098 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001409/0.009375, allocations: 55.66 kB / 0.895 GB, free: 4.039 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.009377, allocations: 3.938 kB / 0.895 GB, free: 4.035 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 6.409e-05/0.009442, allocations: 35.59 kB / 0.895 GB, free: 3.996 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002034/0.009645, allocations: 11.98 kB / 0.8951 GB, free: 3.984 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007017/0.01035, allocations: 154.1 kB / 0.8952 GB, free: 3.805 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.661e-05/0.0104, allocations: 59.34 kB / 0.8953 GB, free: 3.727 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.087e-05/0.01045, allocations: 8 kB / 0.8953 GB, free: 3.719 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.574e-05/0.01054, allocations: 74.2 kB / 0.8953 GB, free: 3.645 MB / 0.8542 GB Notification: Performance of SimCode: time 1.022e-06/0.01054, allocations: 0 / 0.8953 GB, free: 3.645 MB / 0.8542 GB Notification: Performance of Templates: time 0.003575/0.01412, allocations: 0.7891 MB / 0.8961 GB, free: 2.875 MB / 0.8542 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.291960120666772]