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.00096/0.00096, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.001969/0.001969, allocations: 165 kB / 23.82 MB, free: 0.75 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.97/0.97, allocations: 177.1 MB / 204.2 MB, free: 5.652 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.974/1.974, allocations: 377.8 MB / 0.6236 GB, free: 8.543 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 1.423e-06/1.423e-06, allocations: 5.031 kB / 0.8115 GB, free: 1.711 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.651e-05/2.793e-05, allocations: 5.047 kB / 0.8115 GB, free: 1.707 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.00213/0.002158, allocations: 1.506 MB / 0.813 GB, free: 212 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0006837/0.002841, allocations: 0.5395 MB / 0.8135 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.527e-05/0.002877, allocations: 7.938 kB / 0.8136 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.869e-05/0.002905, allocations: 5.391 kB / 0.8136 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001939/0.003099, allocations: 15.88 kB / 0.8136 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001242/0.003223, allocations: 36.52 kB / 0.8136 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 6.966e-05/0.003293, allocations: 60.73 kB / 0.8137 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 7.549e-05/0.003369, allocations: 0 / 0.8137 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001244/0.003493, allocations: 44.5 kB / 0.8137 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.996e-05/0.003553, allocations: 27.89 kB / 0.8137 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.587e-05/0.003569, allocations: 8.594 kB / 0.8137 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 4.396e-05/0.003613, allocations: 8 kB / 0.8137 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.898e-05/0.003632, allocations: 13.22 kB / 0.8138 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.456e-05/0.003666, allocations: 19.92 kB / 0.8138 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001009/0.003767, allocations: 47.81 kB / 0.8138 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.003769, allocations: 2.219 kB / 0.8138 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.01e-07/0.00377, allocations: 4 kB / 0.8138 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.008e-06/0.003774, allocations: 0 / 0.8138 GB, free: 15.38 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.0004177/0.004191, allocations: 377.3 kB / 0.8142 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.004226, allocations: 16.02 kB / 0.8142 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001215/0.004348, allocations: 18.34 kB / 0.8142 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.226e-05/0.00443, allocations: 124.5 kB / 0.8143 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.00444, allocations: 384 / 0.8143 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.191e-05/0.004452, allocations: 4.375 kB / 0.8143 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001009/0.004553, allocations: 64.03 kB / 0.8144 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.004563, allocations: 192 / 0.8144 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.004573, allocations: 384 / 0.8144 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.004581, allocations: 8.562 kB / 0.8144 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.18e-05/0.004623, allocations: 20.5 kB / 0.8144 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003344/0.004957, allocations: 288.2 kB / 0.8147 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001447/0.005102, allocations: 64 kB / 0.8148 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.767e-05/0.00513, allocations: 19.69 kB / 0.8148 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.561e-05/0.005145, allocations: 4.844 kB / 0.8148 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.486e-05/0.00524, allocations: 76.91 kB / 0.8149 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.005241, allocations: 0.5312 kB / 0.8149 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0001675/0.005409, allocations: 91.22 kB / 0.815 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.986e-05/0.005439, allocations: 55.41 kB / 0.815 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.508e-05/0.005504, allocations: 161.9 kB / 0.8152 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/0.005517, allocations: 30.98 kB / 0.8152 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.828e-05/0.005555, allocations: 130.9 kB / 0.8153 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.392e-05/0.005579, allocations: 23.84 kB / 0.8153 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.285e-05/0.005612, allocations: 31.36 kB / 0.8154 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003562/0.005968, allocations: 496.8 kB / 0.8158 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.624e-05/0.005994, allocations: 15.92 kB / 0.8159 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.019e-05/0.006014, allocations: 12.72 kB / 0.8159 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.154e-05/0.006066, allocations: 39.67 kB / 0.8159 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.634e-06/0.006068, allocations: 0.5 kB / 0.8159 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9) (initialization): time 8.912e-05/0.006157, allocations: 75 kB / 0.816 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.006169, allocations: 11.98 kB / 0.816 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.006173, allocations: 0 / 0.816 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.006185, allocations: 0 / 0.816 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.359e-05/0.006239, allocations: 12.69 kB / 0.816 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.91e-06/0.006244, allocations: 4 kB / 0.816 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.149e-05/0.006275, allocations: 13.62 kB / 0.816 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.006283, allocations: 4 kB / 0.816 GB, free: 12.93 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.088e-05/0.006344, allocations: 164.5 kB / 0.8162 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.717e-06/0.006353, allocations: 8.75 kB / 0.8162 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001284/0.006481, allocations: 101.7 kB / 0.8163 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.006483, allocations: 3.469 kB / 0.8163 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.006487, allocations: 0 / 0.8163 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.00649, allocations: 0 / 0.8163 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.636e-05/0.006566, allocations: 132.6 kB / 0.8164 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.006568, allocations: 0 / 0.8164 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.018e-05/0.006598, allocations: 11.98 kB / 0.8164 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.006602, allocations: 3.938 kB / 0.8164 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.00661, allocations: 4 kB / 0.8164 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.00661, allocations: 0 / 0.8164 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.006611, allocations: 0.5312 kB / 0.8164 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000101/0.006712, allocations: 124.4 kB / 0.8166 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.215e-05/0.006724, allocations: 17.72 kB / 0.8166 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/0.006739, allocations: 3.938 kB / 0.8166 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.391e-05/0.006763, allocations: 4 kB / 0.8166 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.631e-05/0.006799, allocations: 11.98 kB / 0.8166 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.998e-06/0.006803, allocations: 0 / 0.8166 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.601e-05/0.006839, allocations: 132.3 kB / 0.8167 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.006839, allocations: 0 / 0.8167 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001276/0.006967, allocations: 16 kB / 0.8167 GB, free: 12.14 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 7.767e-05/0.007045, allocations: 105 kB / 0.8168 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001019/0.007147, allocations: 52.06 kB / 0.8169 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 9.52e-07/0.007148, allocations: 0.5312 kB / 0.8169 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.059e-05/0.007188, allocations: 35.61 kB / 0.8169 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001029/0.007291, allocations: 14.91 kB / 0.8169 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004725/0.007764, allocations: 171 kB / 0.8171 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.018e-05/0.007794, allocations: 56.7 kB / 0.8172 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.129e-05/0.007825, allocations: 12.47 kB / 0.8172 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.137e-05/0.007856, allocations: 14.56 kB / 0.8172 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of SimCode: time 6.81e-07/0.007857, allocations: 0 / 0.8172 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of Templates: time 0.002029/0.009886, allocations: 0.7344 MB / 0.8179 GB, free: 10.93 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.2910073841921985]