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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|eqnTim.nDay|eqnTim.eqnTim",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001098/0.001099, allocations: 99.55 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001422/0.001422, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.513/1.513, allocations: 223.2 MB / 239.9 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.68/2.68, allocations: 436.5 MB / 0.7104 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003648/0.0003649, allocations: 20 kB / 0.8708 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8088/0.8091, allocations: 153.6 MB / 1.021 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.00159/0.8108, allocations: 1.157 MB / 1.022 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0007649/0.8116, allocations: 471.2 kB / 1.022 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.316e-05/0.8116, allocations: 4 kB / 1.022 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.643e-05/0.8116, allocations: 0 / 1.022 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002463/0.8119, allocations: 23.91 kB / 1.022 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001064/0.812, allocations: 19.91 kB / 1.022 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.359e-05/0.8121, allocations: 27.95 kB / 1.022 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.844e-05/0.8122, allocations: 4 kB / 1.022 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.976e-05/0.8123, allocations: 27.91 kB / 1.022 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.974e-05/0.8124, allocations: 19.92 kB / 1.023 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.413e-05/0.8124, allocations: 4 kB / 1.023 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.287e-05/0.8124, allocations: 4 kB / 1.023 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.433e-05/0.8125, allocations: 11.97 kB / 1.023 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.514e-05/0.8125, allocations: 29.7 kB / 1.023 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 7.221e-05/0.8126, allocations: 29.91 kB / 1.023 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.8126, allocations: 0 / 1.023 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.433e-06/0.8126, allocations: 0 / 1.023 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.8126, allocations: 0 / 1.023 GB, free: 15.27 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005653/0.8132, allocations: 351.2 kB / 1.023 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.8132, allocations: 15.92 kB / 1.023 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.348e-05/0.8133, allocations: 3.906 kB / 1.023 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.8134, allocations: 167.1 kB / 1.023 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.8134, allocations: 4 kB / 1.023 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/0.8134, allocations: 0 / 1.023 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001171/0.8136, allocations: 57.62 kB / 1.023 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.8136, allocations: 0 / 1.023 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.8136, allocations: 4 kB / 1.023 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.8136, allocations: 0 / 1.023 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.018e-05/0.8137, allocations: 27.92 kB / 1.023 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003355/0.814, allocations: 284.7 kB / 1.023 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001872/0.8142, allocations: 62.67 kB / 1.024 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.443e-05/0.8142, allocations: 8 kB / 1.024 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001541/0.8144, allocations: 75.38 kB / 1.024 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.412e-06/0.8144, allocations: 0 / 1.024 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0002191/0.8146, allocations: 89.58 kB / 1.024 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.458e-05/0.8147, allocations: 55.41 kB / 1.024 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.48e-05/0.8147, allocations: 101.8 kB / 1.024 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/0.8148, allocations: 25.7 kB / 1.024 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.825e-05/0.8148, allocations: 88.14 kB / 1.024 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.584e-05/0.8148, allocations: 15.8 kB / 1.024 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.645e-06/0.8148, allocations: 4 kB / 1.024 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.32e-05/0.8149, allocations: 314.8 kB / 1.024 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.306e-05/0.815, allocations: 12 kB / 1.024 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.766e-05/0.815, allocations: 23.91 kB / 1.024 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.595e-05/0.8151, allocations: 16 kB / 1.024 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.8151, allocations: 3.953 kB / 1.024 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000123/0.8152, allocations: 77.64 kB / 1.024 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.8152, allocations: 8 kB / 1.024 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.466e-06/0.8152, allocations: 0 / 1.024 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.846e-06/0.8152, allocations: 0 / 1.024 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.019e-05/0.8153, allocations: 8 kB / 1.024 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.8153, allocations: 4 kB / 1.024 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.41e-05/0.8154, allocations: 4.234 kB / 1.024 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/0.8154, allocations: 4 kB / 1.024 GB, free: 13.17 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.eqnTim.tNext,eqnTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.89e-05/0.8155, allocations: 119.5 kB / 1.025 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.297e-05/0.8155, allocations: 7.953 kB / 1.025 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001873/0.8157, allocations: 113.5 kB / 1.025 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.8157, allocations: 0 / 1.025 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.8157, allocations: 192 / 1.025 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.8157, allocations: 0 / 1.025 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001297/0.8159, allocations: 181.5 kB / 1.025 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.8159, allocations: 0 / 1.025 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.242e-05/0.8159, allocations: 19.94 kB / 1.025 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.816, allocations: 0 / 1.025 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.816, allocations: 7.938 kB / 1.025 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.816, allocations: 4 kB / 1.025 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.816, allocations: 0 / 1.025 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001603/0.8162, allocations: 121.1 kB / 1.025 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.945e-05/0.8162, allocations: 81.02 kB / 1.025 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.034e-05/0.8162, allocations: 3.953 kB / 1.025 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.763e-05/0.8163, allocations: 11.98 kB / 1.025 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.635e-05/0.8163, allocations: 4 kB / 1.025 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/0.8164, allocations: 11.98 kB / 1.025 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.578e-05/0.8164, allocations: 83.28 kB / 1.025 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8164, allocations: 0 / 1.025 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001805/0.8166, allocations: 8 kB / 1.025 GB, free: 12.31 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,eqnTim.tNext) * Number of discrete states: 1 (eqnTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001075/0.8167, allocations: 103.2 kB / 1.025 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001191/0.8168, allocations: 47.97 kB / 1.025 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.8168, allocations: 0 / 1.025 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 6.037e-05/0.8169, allocations: 31.94 kB / 1.025 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.994e-05/0.817, allocations: 16.48 kB / 1.025 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003019/0.8173, allocations: 156.6 kB / 1.025 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000246/0.8176, allocations: 0.6848 MB / 1.026 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.24e-05/0.8176, allocations: 8.188 kB / 1.026 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.962e-05/0.8177, allocations: 15.42 kB / 1.026 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of SimCode: time 2.11e-07/0.8177, allocations: 0 / 1.026 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of Templates: time 0.002682/0.8204, allocations: 0.6046 MB / 1.027 GB, free: 10.59 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.csv","../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches