Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009501/0.0009501, 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.001025/0.001025, allocations: 173 kB / 24.28 MB, free: 272 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.03/1.03, allocations: 177.1 MB / 204.6 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.026/2.026, allocations: 377.8 MB / 0.6239 GB, free: 8.539 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.033e-06/2.033e-06, allocations: 0 / 0.8115 GB, free: 2.051 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.046e-05/3.249e-05, allocations: 6.25 kB / 0.8115 GB, free: 2.043 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002774/0.002807, allocations: 1.507 MB / 0.813 GB, free: 0.5469 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0009977/0.003805, allocations: 0.5398 MB / 0.8135 GB, free: 4 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.166e-05/0.003856, allocations: 0 / 0.8135 GB, free: 4 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 5.231e-05/0.003909, allocations: 9.156 kB / 0.8136 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0002487/0.004157, allocations: 23.69 kB / 0.8136 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001708/0.004328, allocations: 33.42 kB / 0.8136 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001053/0.004433, allocations: 55.84 kB / 0.8137 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.004538, allocations: 4 kB / 0.8137 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002032/0.004742, allocations: 49.36 kB / 0.8137 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 8.166e-05/0.004823, allocations: 23.95 kB / 0.8137 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.128e-05/0.004845, allocations: 4 kB / 0.8137 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.332e-05/0.004898, allocations: 8 kB / 0.8137 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.257e-05/0.004921, allocations: 17.23 kB / 0.8138 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.506e-05/0.004966, allocations: 19.97 kB / 0.8138 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001469/0.005112, allocations: 51.75 kB / 0.8138 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.005116, allocations: 0.5 kB / 0.8138 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.343e-06/0.005117, allocations: 0 / 0.8138 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.005122, allocations: 1.219 kB / 0.8138 GB, free: 15.71 MB / 0.7761 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.0005729/0.005695, allocations: 381.1 kB / 0.8142 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.005738, allocations: 12.73 kB / 0.8142 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001884/0.005926, allocations: 14.34 kB / 0.8142 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.006043, allocations: 120.6 kB / 0.8143 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/0.00606, allocations: 4.375 kB / 0.8143 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.472e-05/0.006075, allocations: 4.375 kB / 0.8143 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001239/0.006199, allocations: 63.56 kB / 0.8144 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.006207, allocations: 192 / 0.8144 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.006221, allocations: 9.359 kB / 0.8144 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.006231, allocations: 3.938 kB / 0.8144 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.425e-05/0.006285, allocations: 20.67 kB / 0.8144 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004222/0.006707, allocations: 283.7 kB / 0.8147 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002063/0.006913, allocations: 67.81 kB / 0.8148 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.795e-05/0.006961, allocations: 20.91 kB / 0.8148 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.394e-05/0.006975, allocations: 0 / 0.8148 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001489/0.007124, allocations: 78.75 kB / 0.8149 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.302e-06/0.007125, allocations: 0 / 0.8149 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0002401/0.007365, allocations: 85.86 kB / 0.815 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.987e-05/0.007415, allocations: 59.34 kB / 0.815 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.275e-05/0.007508, allocations: 161.9 kB / 0.8152 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.007525, allocations: 28.02 kB / 0.8152 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.068e-05/0.007576, allocations: 130.9 kB / 0.8153 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.482e-05/0.007611, allocations: 23.84 kB / 0.8153 GB, free: 14 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.041e-05/0.007661, allocations: 35.3 kB / 0.8154 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.007805, allocations: 496.1 kB / 0.8158 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.818e-05/0.007843, allocations: 11.98 kB / 0.8159 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.594e-05/0.007879, allocations: 15.44 kB / 0.8159 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.67e-05/0.007956, allocations: 35.75 kB / 0.8159 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.007957, allocations: 0 / 0.8159 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001302/0.008088, allocations: 81.55 kB / 0.816 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.008102, allocations: 4 kB / 0.816 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.008107, allocations: 80 / 0.816 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.00812, allocations: 0 / 0.816 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.568e-05/0.008186, allocations: 15.94 kB / 0.816 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.074e-06/0.008193, allocations: 3.984 kB / 0.816 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.023e-05/0.008233, allocations: 20.72 kB / 0.816 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.008241, allocations: 4 kB / 0.816 GB, free: 13.27 MB / 0.7761 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.312e-05/0.008324, allocations: 157.1 kB / 0.8162 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.957e-05/0.008344, allocations: 12.5 kB / 0.8162 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001587/0.008502, allocations: 94.28 kB / 0.8163 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.008504, allocations: 1.25 kB / 0.8163 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/0.008507, allocations: 0 / 0.8163 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.008511, allocations: 4 kB / 0.8163 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.462e-05/0.008595, allocations: 132.6 kB / 0.8164 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.008597, allocations: 0.6875 kB / 0.8164 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.375e-05/0.008641, allocations: 15.98 kB / 0.8164 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.008644, allocations: 4.5 kB / 0.8164 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.008652, allocations: 6.031 kB / 0.8164 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.008654, allocations: 0 / 0.8164 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.008656, allocations: 0 / 0.8164 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001119/0.008768, allocations: 124.4 kB / 0.8166 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.211e-05/0.00879, allocations: 15.88 kB / 0.8166 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.008808, allocations: 3.938 kB / 0.8166 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.018e-05/0.008838, allocations: 4.812 kB / 0.8166 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.311e-05/0.008871, allocations: 7.984 kB / 0.8166 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.008877, allocations: 8.875 kB / 0.8166 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.883e-05/0.008916, allocations: 131.4 kB / 0.8167 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.008916, allocations: 1.312 kB / 0.8167 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001281/0.009044, allocations: 16 kB / 0.8167 GB, free: 12.48 MB / 0.7761 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 8.91e-05/0.009133, allocations: 104.3 kB / 0.8168 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000109/0.009242, allocations: 60 kB / 0.8169 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.243e-06/0.009244, allocations: 0 / 0.8169 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.063e-05/0.009284, allocations: 32.86 kB / 0.8169 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001187/0.009403, allocations: 8 kB / 0.8169 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005266/0.009929, allocations: 166.1 kB / 0.8171 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.004e-05/0.009959, allocations: 55.36 kB / 0.8171 GB, free: 12 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.489e-05/0.009994, allocations: 7.984 kB / 0.8172 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.29e-05/0.01003, allocations: 16.5 kB / 0.8172 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of SimCode: time 8.22e-07/0.01003, allocations: 0 / 0.8172 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of Templates: time 0.002314/0.01234, allocations: 0.75 MB / 0.8179 GB, free: 11.27 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.34958028094843]