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.0009008/0.0009008, 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.0009603/0.0009603, allocations: 169 kB / 23.02 MB, free: 1.547 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.9101/0.9101, allocations: 177.1 MB / 203.4 MB, free: 5.629 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 1.97/1.97, allocations: 429.5 MB / 0.6732 GB, free: 4.047 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.483e-06/1.483e-06, allocations: 0 / 0.8782 GB, free: 6.32 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.342e-05/1.49e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.316 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.0016/0.001614, allocations: 1.519 MB / 0.8797 GB, free: 4.809 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0006327/0.002247, allocations: 0.5469 MB / 0.8802 GB, free: 4.262 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.397e-05/0.002281, allocations: 0.5312 kB / 0.8802 GB, free: 4.262 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.944e-05/0.002311, allocations: 4.5 kB / 0.8802 GB, free: 4.258 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001872/0.002498, allocations: 28.44 kB / 0.8802 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001158/0.002614, allocations: 28.56 kB / 0.8803 GB, free: 4.203 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.227e-05/0.002686, allocations: 57.44 kB / 0.8803 GB, free: 4.148 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 7.496e-05/0.002761, allocations: 7.984 kB / 0.8803 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001192/0.00288, allocations: 47.78 kB / 0.8804 GB, free: 4.094 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.976e-05/0.00294, allocations: 23.95 kB / 0.8804 GB, free: 4.07 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.452e-05/0.002954, allocations: 5.812 kB / 0.8804 GB, free: 4.066 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 3.978e-05/0.002994, allocations: 8 kB / 0.8804 GB, free: 4.059 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.846e-05/0.003013, allocations: 19.92 kB / 0.8804 GB, free: 4.039 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.139e-05/0.003044, allocations: 15.97 kB / 0.8804 GB, free: 4.023 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 9.808e-05/0.003142, allocations: 51.81 kB / 0.8805 GB, free: 3.973 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.003144, allocations: 2.75 kB / 0.8805 GB, free: 3.973 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.01e-07/0.003144, allocations: 0 / 0.8805 GB, free: 3.973 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.166e-06/0.003147, allocations: 0 / 0.8805 GB, free: 3.973 MB / 0.8386 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.0004145/0.003562, allocations: 380.6 kB / 0.8808 GB, free: 3.566 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.063e-05/0.003593, allocations: 8.031 kB / 0.8809 GB, free: 3.559 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001208/0.003713, allocations: 21.55 kB / 0.8809 GB, free: 3.539 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.91e-05/0.003792, allocations: 118.2 kB / 0.881 GB, free: 3.398 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.003804, allocations: 4.375 kB / 0.881 GB, free: 3.395 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.096e-05/0.003815, allocations: 8.375 kB / 0.881 GB, free: 3.387 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.997e-05/0.003905, allocations: 62.94 kB / 0.8811 GB, free: 3.316 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.181e-06/0.003911, allocations: 1.531 kB / 0.8811 GB, free: 3.316 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.003921, allocations: 4.359 kB / 0.8811 GB, free: 3.312 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.003928, allocations: 3.938 kB / 0.8811 GB, free: 3.309 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.71e-05/0.003965, allocations: 15.98 kB / 0.8811 GB, free: 3.293 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003835/0.004349, allocations: 283.7 kB / 0.8814 GB, free: 2.98 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001473/0.004496, allocations: 71.09 kB / 0.8814 GB, free: 2.898 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.624e-05/0.004522, allocations: 15.69 kB / 0.8814 GB, free: 2.879 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.168e-05/0.004534, allocations: 3.984 kB / 0.8814 GB, free: 2.875 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.427e-05/0.004628, allocations: 85.03 kB / 0.8815 GB, free: 2.777 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 9.61e-07/0.004629, allocations: 0 / 0.8815 GB, free: 2.777 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0001623/0.004792, allocations: 85.59 kB / 0.8816 GB, free: 2.688 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.103e-05/0.004823, allocations: 55.41 kB / 0.8817 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.978e-05/0.004882, allocations: 165.9 kB / 0.8818 GB, free: 2.441 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.091e-05/0.004893, allocations: 25.7 kB / 0.8818 GB, free: 2.41 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.919e-05/0.004932, allocations: 142.8 kB / 0.882 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.858e-05/0.004951, allocations: 11.91 kB / 0.882 GB, free: 2.254 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.17e-05/0.004983, allocations: 31.36 kB / 0.882 GB, free: 2.215 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.404e-05/0.005077, allocations: 496.1 kB / 0.8825 GB, free: 1.719 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.404e-05/0.005101, allocations: 15.98 kB / 0.8825 GB, free: 1.703 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.024e-05/0.005121, allocations: 15.92 kB / 0.8825 GB, free: 1.688 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.335e-05/0.005174, allocations: 31.88 kB / 0.8826 GB, free: 1.652 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.005176, allocations: 0 / 0.8826 GB, free: 1.652 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9) (initialization): time 8.644e-05/0.005263, allocations: 93.44 kB / 0.8826 GB, free: 1.555 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.638e-06/0.005272, allocations: 8 kB / 0.8827 GB, free: 1.547 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-06/0.005276, allocations: 0 / 0.8827 GB, free: 1.547 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/0.005286, allocations: 0 / 0.8827 GB, free: 1.547 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.047e-05/0.005336, allocations: 15.98 kB / 0.8827 GB, free: 1.531 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-06/0.00534, allocations: 0 / 0.8827 GB, free: 1.531 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.131e-05/0.005371, allocations: 11.94 kB / 0.8827 GB, free: 1.52 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.612e-06/0.005378, allocations: 0 / 0.8827 GB, free: 1.52 MB / 0.8386 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.899e-05/0.005437, allocations: 160.6 kB / 0.8828 GB, free: 1.352 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.233e-05/0.005449, allocations: 15.83 kB / 0.8828 GB, free: 1.336 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001235/0.005573, allocations: 97.78 kB / 0.8829 GB, free: 1.234 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.005574, allocations: 0 / 0.8829 GB, free: 1.234 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.005577, allocations: 0 / 0.8829 GB, free: 1.234 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.005582, allocations: 7.984 kB / 0.8829 GB, free: 1.227 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.08e-05/0.005653, allocations: 124.6 kB / 0.8831 GB, free: 1.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-07/0.005654, allocations: 3.938 kB / 0.8831 GB, free: 1.066 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.109e-05/0.005685, allocations: 12 kB / 0.8831 GB, free: 1.055 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.005687, allocations: 3.938 kB / 0.8831 GB, free: 1.051 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.714e-06/0.005695, allocations: 4 kB / 0.8831 GB, free: 1.047 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.005696, allocations: 0 / 0.8831 GB, free: 1.047 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.22e-07/0.005697, allocations: 0 / 0.8831 GB, free: 1.047 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001003/0.005797, allocations: 136.3 kB / 0.8832 GB, free: 0.8906 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.448e-06/0.005806, allocations: 7.891 kB / 0.8832 GB, free: 0.8828 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.585e-05/0.005822, allocations: 7.938 kB / 0.8832 GB, free: 0.875 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.339e-05/0.005846, allocations: 4 kB / 0.8832 GB, free: 0.8711 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.146e-05/0.005877, allocations: 7.984 kB / 0.8832 GB, free: 0.8633 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.57e-06/0.005883, allocations: 7.938 kB / 0.8833 GB, free: 0.8555 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.284e-05/0.005915, allocations: 131.2 kB / 0.8834 GB, free: 0.7266 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.005916, allocations: 0 / 0.8834 GB, free: 0.7266 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001219/0.006037, allocations: 12 kB / 0.8834 GB, free: 0.7148 MB / 0.8386 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 6.783e-05/0.006105, allocations: 103.2 kB / 0.8835 GB, free: 0.6016 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.996e-05/0.006205, allocations: 55.59 kB / 0.8835 GB, free: 0.543 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.002e-06/0.006206, allocations: 0 / 0.8835 GB, free: 0.543 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.822e-05/0.006244, allocations: 35.61 kB / 0.8836 GB, free: 0.5039 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.763e-05/0.006342, allocations: 4 kB / 0.8836 GB, free: 0.5 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004357/0.006778, allocations: 158.2 kB / 0.8837 GB, free: 324 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.813e-05/0.006806, allocations: 59.3 kB / 0.8838 GB, free: 244 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.125e-05/0.006837, allocations: 12.31 kB / 0.8838 GB, free: 232 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.213e-05/0.006869, allocations: 16.5 kB / 0.8838 GB, free: 216 kB / 0.8386 GB Notification: Performance of SimCode: time 5.21e-07/0.00687, allocations: 0 / 0.8838 GB, free: 216 kB / 0.8386 GB Notification: Performance of Templates: time 0.00205/0.00892, allocations: 0.7623 MB / 0.8846 GB, free: 15.46 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.043419198133051]