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.001372/0.001372, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001605/0.001605, allocations: 185 kB / 24.09 MB, free: 416 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 0.9677/0.9677, allocations: 177.1 MB / 204.5 MB, free: 5.516 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 1.894/1.894, allocations: 377.9 MB / 0.624 GB, free: 8.395 MB / 0.5886 GB " [Timeout remaining time 178] 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 1.442e-06/1.442e-06, allocations: 0 / 0.812 GB, free: 1.469 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.524e-05/2.668e-05, allocations: 10.25 kB / 0.812 GB, free: 1.457 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002451/0.002478, allocations: 1.504 MB / 0.8135 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0009005/0.003378, allocations: 0.5368 MB / 0.814 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.446e-05/0.003423, allocations: 0 / 0.814 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.516e-05/0.003458, allocations: 7.922 kB / 0.814 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0002702/0.003728, allocations: 21.61 kB / 0.814 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001518/0.00388, allocations: 35.89 kB / 0.8141 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 8.03e-05/0.00396, allocations: 55.84 kB / 0.8141 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.402e-05/0.004054, allocations: 11.92 kB / 0.8141 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000142/0.004196, allocations: 45.44 kB / 0.8142 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 7.434e-05/0.004271, allocations: 23.89 kB / 0.8142 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.743e-05/0.004288, allocations: 4 kB / 0.8142 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.231e-05/0.00434, allocations: 12.53 kB / 0.8142 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.773e-05/0.004358, allocations: 11.98 kB / 0.8142 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.063e-05/0.004389, allocations: 17.62 kB / 0.8143 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001086/0.004497, allocations: 51.81 kB / 0.8143 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.524e-06/0.0045, allocations: 0 / 0.8143 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.192e-06/0.004501, allocations: 0 / 0.8143 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.004505, allocations: 0.625 kB / 0.8143 GB, free: 15.13 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.0004319/0.004937, allocations: 377.9 kB / 0.8147 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.004978, allocations: 12.02 kB / 0.8147 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001396/0.005118, allocations: 18.03 kB / 0.8147 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.474e-05/0.005202, allocations: 124.5 kB / 0.8148 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.005215, allocations: 5.75 kB / 0.8148 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.496e-06/0.005224, allocations: 4.375 kB / 0.8148 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.728e-05/0.005311, allocations: 58.94 kB / 0.8149 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.005321, allocations: 4.172 kB / 0.8149 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.574e-06/0.005329, allocations: 2.031 kB / 0.8149 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.005338, allocations: 7.938 kB / 0.8149 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.93e-05/0.005367, allocations: 11.98 kB / 0.8149 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003085/0.005675, allocations: 272.2 kB / 0.8152 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001418/0.005817, allocations: 56.52 kB / 0.8152 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.047e-05/0.005838, allocations: 23.73 kB / 0.8152 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.672e-05/0.005854, allocations: 2.188 kB / 0.8152 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.359e-05/0.005948, allocations: 80.84 kB / 0.8153 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.005949, allocations: 4 kB / 0.8153 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.000161/0.00611, allocations: 77.61 kB / 0.8154 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.602e-05/0.006146, allocations: 59.41 kB / 0.8155 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.176e-05/0.006218, allocations: 160.1 kB / 0.8156 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.322e-05/0.006231, allocations: 25.7 kB / 0.8156 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.53e-05/0.006277, allocations: 130.9 kB / 0.8158 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.556e-05/0.006302, allocations: 23.83 kB / 0.8158 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.329e-05/0.006335, allocations: 27.38 kB / 0.8158 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.006448, allocations: 0.4884 MB / 0.8163 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.891e-05/0.006467, allocations: 8.5 kB / 0.8163 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.876e-05/0.006486, allocations: 20.39 kB / 0.8163 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.223e-05/0.006528, allocations: 35.66 kB / 0.8163 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.00653, allocations: 1.906 kB / 0.8163 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9) (initialization): time 7.045e-05/0.0066, allocations: 69.62 kB / 0.8164 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.006612, allocations: 10.59 kB / 0.8164 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.006616, allocations: 0 / 0.8164 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.006627, allocations: 0 / 0.8164 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.324e-05/0.00668, allocations: 18.27 kB / 0.8164 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.976e-06/0.006683, allocations: 320 / 0.8164 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.24e-05/0.006715, allocations: 11.89 kB / 0.8164 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.006722, allocations: 3.984 kB / 0.8165 GB, free: 12.75 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 6.373e-05/0.006786, allocations: 164.5 kB / 0.8166 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.288e-06/0.006795, allocations: 8.656 kB / 0.8166 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001101/0.006905, allocations: 86.91 kB / 0.8167 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.006907, allocations: 0 / 0.8167 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.006911, allocations: 7.938 kB / 0.8167 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.006914, allocations: 0 / 0.8167 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.502e-05/0.006989, allocations: 113.8 kB / 0.8168 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.00699, allocations: 0.9062 kB / 0.8168 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.89e-05/0.007018, allocations: 12 kB / 0.8168 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.007021, allocations: 0.8438 kB / 0.8168 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.007028, allocations: 7.984 kB / 0.8168 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.00703, allocations: 3.938 kB / 0.8168 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.007031, allocations: 1.656 kB / 0.8168 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.816e-05/0.007119, allocations: 116.4 kB / 0.817 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.267e-05/0.007132, allocations: 19.83 kB / 0.817 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.123e-05/0.007143, allocations: 0 / 0.817 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.598e-05/0.007169, allocations: 12.81 kB / 0.817 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.546e-05/0.007194, allocations: 7.984 kB / 0.817 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.49e-06/0.0072, allocations: 9.047 kB / 0.817 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.441e-05/0.007234, allocations: 127.4 kB / 0.8171 GB, free: 12 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.007234, allocations: 0 / 0.8171 GB, free: 12 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001172/0.007351, allocations: 13.12 kB / 0.8171 GB, free: 11.99 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 9.181e-05/0.007443, allocations: 103.2 kB / 0.8172 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.643e-05/0.00753, allocations: 45.23 kB / 0.8173 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.007531, allocations: 0 / 0.8173 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.621e-05/0.007567, allocations: 43.73 kB / 0.8173 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001033/0.007671, allocations: 4.859 kB / 0.8173 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004385/0.008109, allocations: 159.8 kB / 0.8175 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.6e-05/0.008145, allocations: 63.34 kB / 0.8175 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.156e-05/0.008177, allocations: 5.844 kB / 0.8175 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.111e-05/0.008228, allocations: 74.2 kB / 0.8176 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of SimCode: time 4.11e-07/0.008228, allocations: 0 / 0.8176 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of Templates: time 0.002109/0.01034, allocations: 0.7948 MB / 0.8184 GB, free: 10.67 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.110655054915696]