Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.429/1.429, allocations: 251.9 MB / 266.9 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001216/0.001215, allocations: 178.9 kB / 326.5 MB, free: 2.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.797/1.797, allocations: 205.4 MB / 0.5775 GB, free: 20.17 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001032/0.001032, allocations: 97.56 kB / 0.6821 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000335/0.0003352, allocations: 8 kB / 0.7962 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2151/0.2154, allocations: 106.3 MB / 0.9001 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1763/0.3917, allocations: 132.1 MB / 1.029 GB, free: 11.54 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003184/0.3921, allocations: 83.94 kB / 1.029 GB, free: 11.46 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002353/0.3945, allocations: 0.8094 MB / 1.03 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.515e-06/0.3945, allocations: 0 / 1.03 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.3946, allocations: 3.938 kB / 1.03 GB, free: 10.64 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003108/0.3949, allocations: 333 kB / 1.03 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/0.3949, allocations: 12.03 kB / 1.03 GB, free: 10.26 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.471e-05/0.395, allocations: 7.891 kB / 1.03 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001018/0.3951, allocations: 163 kB / 1.031 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.3951, allocations: 7.938 kB / 1.031 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.402e-05/0.3951, allocations: 4 kB / 1.031 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001223/0.3952, allocations: 41.67 kB / 1.031 GB, free: 9.992 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.782e-06/0.3953, allocations: 0 / 1.031 GB, free: 9.992 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.3953, allocations: 0 / 1.031 GB, free: 9.992 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.3953, allocations: 0 / 1.031 GB, free: 9.992 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.431e-05/0.3953, allocations: 15.98 kB / 1.031 GB, free: 9.977 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003232/0.3957, allocations: 244.9 kB / 1.031 GB, free: 9.688 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001765/0.3959, allocations: 50.5 kB / 1.031 GB, free: 9.629 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.52e-05/0.3959, allocations: 0 / 1.031 GB, free: 9.629 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.087e-05/0.3959, allocations: 30.56 kB / 1.031 GB, free: 9.59 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 8.81e-07/0.3959, allocations: 0 / 1.031 GB, free: 9.59 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0001654/0.3961, allocations: 49.84 kB / 1.031 GB, free: 9.535 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/0.3961, allocations: 63.33 kB / 1.031 GB, free: 9.461 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.433e-05/0.3962, allocations: 89 kB / 1.031 GB, free: 9.367 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.3962, allocations: 25.7 kB / 1.031 GB, free: 9.336 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.752e-05/0.3962, allocations: 80.14 kB / 1.031 GB, free: 9.254 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.818e-05/0.3963, allocations: 7.844 kB / 1.031 GB, free: 9.246 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.857e-06/0.3963, allocations: 0 / 1.031 GB, free: 9.246 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.3964, allocations: 322.8 kB / 1.031 GB, free: 8.922 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.438e-05/0.3964, allocations: 0 / 1.031 GB, free: 8.922 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.448e-05/0.3964, allocations: 7.984 kB / 1.032 GB, free: 8.914 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.875e-05/0.3965, allocations: 8 kB / 1.032 GB, free: 8.906 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3965, allocations: 4 kB / 1.032 GB, free: 8.902 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.137e-05/0.3966, allocations: 49.59 kB / 1.032 GB, free: 8.848 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.3966, allocations: 4 kB / 1.032 GB, free: 8.844 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.3966, allocations: 0 / 1.032 GB, free: 8.844 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.768e-06/0.3966, allocations: 0 / 1.032 GB, free: 8.844 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.101e-05/0.3967, allocations: 11.98 kB / 1.032 GB, free: 8.832 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.3967, allocations: 7.875 kB / 1.032 GB, free: 8.824 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.247e-05/0.3967, allocations: 0 / 1.032 GB, free: 8.824 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.3967, allocations: 4 kB / 1.032 GB, free: 8.82 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.371e-05/0.3968, allocations: 113.8 kB / 1.032 GB, free: 8.699 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.07e-05/0.3968, allocations: 4 kB / 1.032 GB, free: 8.695 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001429/0.397, allocations: 69.17 kB / 1.032 GB, free: 8.617 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.397, allocations: 4 kB / 1.032 GB, free: 8.613 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.397, allocations: 0 / 1.032 GB, free: 8.613 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.397, allocations: 3.938 kB / 1.032 GB, free: 8.609 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001623/0.3972, allocations: 165.6 kB / 1.032 GB, free: 8.398 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3972, allocations: 0 / 1.032 GB, free: 8.398 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.367e-05/0.3972, allocations: 15.92 kB / 1.032 GB, free: 8.383 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.3972, allocations: 0 / 1.032 GB, free: 8.383 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.3973, allocations: 4 kB / 1.032 GB, free: 8.379 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.3973, allocations: 0 / 1.032 GB, free: 8.379 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3973, allocations: 64 / 1.032 GB, free: 8.379 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001411/0.3974, allocations: 171.7 kB / 1.032 GB, free: 8.195 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.204e-05/0.3975, allocations: 77.11 kB / 1.032 GB, free: 8.102 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.207e-05/0.3975, allocations: 0 / 1.032 GB, free: 8.102 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.308e-05/0.3975, allocations: 0 / 1.032 GB, free: 8.102 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.715e-05/0.3976, allocations: 11.97 kB / 1.032 GB, free: 8.09 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.3976, allocations: 4 kB / 1.032 GB, free: 8.086 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 2.541e-05/0.3976, allocations: 75.95 kB / 1.032 GB, free: 8.012 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1e-07/0.3976, allocations: 0 / 1.032 GB, free: 8.012 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002027/0.3978, allocations: 8 kB / 1.032 GB, free: 8.004 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 0.0001048/0.3979, allocations: 103.2 kB / 1.032 GB, free: 7.895 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 8.839e-05/0.398, allocations: 19.98 kB / 1.032 GB, free: 7.875 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.398, allocations: 0 / 1.032 GB, free: 7.875 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 3.477e-05/0.3981, allocations: 16 kB / 1.032 GB, free: 7.859 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001293/0.3982, allocations: 13.98 kB / 1.032 GB, free: 7.848 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002718/0.3985, allocations: 136.5 kB / 1.033 GB, free: 7.688 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002563/0.3987, allocations: 0.677 MB / 1.033 GB, free: 6.984 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.183e-05/0.3988, allocations: 11.84 kB / 1.033 GB, free: 6.973 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.568e-05/0.3988, allocations: 11.44 kB / 1.033 GB, free: 6.961 MB / 0.6823 GB Notification: Performance of SimCode: time 3.41e-07/0.3988, allocations: 0 / 1.033 GB, free: 6.961 MB / 0.6823 GB Notification: Performance of Templates: time 0.001937/0.4008, allocations: 338.5 kB / 1.034 GB, free: 6.66 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.makefile (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.csv","../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches