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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.335/2.335, allocations: 393.5 MB / 408.4 MB, free: 11.06 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 180 kB / 0.4902 GB, free: 2.219 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.591/1.591, allocations: 223.1 MB / 0.7992 GB, free: 15.67 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008955/0.0008954, allocations: 98.16 kB / 0.9396 GB, free: 2.836 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003653/0.0003653, allocations: 12.22 kB / 1.09 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2508/0.2512, allocations: 143 MB / 1.229 GB, free: 85.48 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1925/0.4438, allocations: 150.4 MB / 1.376 GB, free: 14.84 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002668/0.4441, allocations: 83.94 kB / 1.376 GB, free: 14.76 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.002499/0.4466, allocations: 0.8582 MB / 1.377 GB, free: 13.9 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.493e-06/0.4467, allocations: 0 / 1.377 GB, free: 13.9 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.876e-06/0.4467, allocations: 0 / 1.377 GB, free: 13.9 MB / 0.8855 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.0003163/0.447, allocations: 327.4 kB / 1.377 GB, free: 13.54 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.4471, allocations: 12.56 kB / 1.377 GB, free: 13.52 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.355e-05/0.4471, allocations: 0 / 1.377 GB, free: 13.52 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001082/0.4472, allocations: 167 kB / 1.378 GB, free: 13.32 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.4472, allocations: 0 / 1.378 GB, free: 13.32 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.376e-05/0.4473, allocations: 4 kB / 1.378 GB, free: 13.32 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001255/0.4474, allocations: 37.69 kB / 1.378 GB, free: 13.27 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.4474, allocations: 0 / 1.378 GB, free: 13.27 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.4474, allocations: 4 kB / 1.378 GB, free: 13.27 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.4474, allocations: 0 / 1.378 GB, free: 13.27 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.001e-05/0.4475, allocations: 23.92 kB / 1.378 GB, free: 13.25 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003573/0.4479, allocations: 248.9 kB / 1.378 GB, free: 12.95 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000177/0.4481, allocations: 38.56 kB / 1.378 GB, free: 12.91 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.785e-05/0.4481, allocations: 0 / 1.378 GB, free: 12.91 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/0.4481, allocations: 38.56 kB / 1.378 GB, free: 12.86 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.4481, allocations: 0 / 1.378 GB, free: 12.86 MB / 0.8855 GB Notification: Performance of matching and sorting (n=3): time 0.0001901/0.4483, allocations: 53.77 kB / 1.378 GB, free: 12.8 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.563e-05/0.4484, allocations: 55.41 kB / 1.378 GB, free: 12.73 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.359e-05/0.4484, allocations: 85 kB / 1.378 GB, free: 12.64 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/0.4484, allocations: 25.7 kB / 1.378 GB, free: 12.61 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 5.177e-05/0.4485, allocations: 88.05 kB / 1.378 GB, free: 12.52 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.096e-05/0.4485, allocations: 3.906 kB / 1.378 GB, free: 12.52 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.827e-06/0.4485, allocations: 4 kB / 1.378 GB, free: 12.52 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.4487, allocations: 318.8 kB / 1.379 GB, free: 12.2 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.854e-05/0.4487, allocations: 7.984 kB / 1.379 GB, free: 12.19 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.266e-05/0.4487, allocations: 4 kB / 1.379 GB, free: 12.18 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.141e-05/0.4488, allocations: 8 kB / 1.379 GB, free: 12.18 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.4488, allocations: 0 / 1.379 GB, free: 12.18 MB / 0.8855 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.891e-05/0.4489, allocations: 49.62 kB / 1.379 GB, free: 12.12 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.4489, allocations: 7.938 kB / 1.379 GB, free: 12.11 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.4489, allocations: 0 / 1.379 GB, free: 12.11 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.4489, allocations: 4 kB / 1.379 GB, free: 12.11 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.461e-05/0.449, allocations: 11.98 kB / 1.379 GB, free: 12.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.449, allocations: 3.938 kB / 1.379 GB, free: 12.09 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.569e-05/0.449, allocations: 0 / 1.379 GB, free: 12.09 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-06/0.449, allocations: 0 / 1.379 GB, free: 12.09 MB / 0.8855 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 8.042e-05/0.4491, allocations: 113.8 kB / 1.379 GB, free: 11.97 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.428e-05/0.4492, allocations: 4 kB / 1.379 GB, free: 11.97 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001567/0.4493, allocations: 73.02 kB / 1.379 GB, free: 11.89 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.4493, allocations: 8 kB / 1.379 GB, free: 11.88 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.4493, allocations: 0 / 1.379 GB, free: 11.88 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.4494, allocations: 0 / 1.379 GB, free: 11.88 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001923/0.4496, allocations: 177.5 kB / 1.379 GB, free: 11.66 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.4496, allocations: 0 / 1.379 GB, free: 11.66 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.317e-05/0.4496, allocations: 8 kB / 1.379 GB, free: 11.65 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.4496, allocations: 0 / 1.379 GB, free: 11.65 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-06/0.4496, allocations: 0 / 1.379 GB, free: 11.65 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.4496, allocations: 0 / 1.379 GB, free: 11.65 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.4497, allocations: 0 / 1.379 GB, free: 11.65 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001494/0.4498, allocations: 163.5 kB / 1.379 GB, free: 11.48 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 3.398e-05/0.4499, allocations: 81.05 kB / 1.379 GB, free: 11.38 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.374e-05/0.4499, allocations: 3.984 kB / 1.379 GB, free: 11.38 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.857e-05/0.4499, allocations: 8.125 kB / 1.379 GB, free: 11.37 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.558e-05/0.45, allocations: 4 kB / 1.379 GB, free: 11.36 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-06/0.45, allocations: 0 / 1.379 GB, free: 11.36 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 2.884e-05/0.45, allocations: 75.28 kB / 1.379 GB, free: 11.29 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.1e-07/0.45, allocations: 0 / 1.379 GB, free: 11.29 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002073/0.4502, allocations: 8 kB / 1.379 GB, free: 11.28 MB / 0.8855 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.0001155/0.4503, allocations: 100 kB / 1.379 GB, free: 11.18 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 9.929e-05/0.4505, allocations: 24.31 kB / 1.379 GB, free: 11.15 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.4505, allocations: 0 / 1.379 GB, free: 11.15 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 3.497e-05/0.4505, allocations: 23.92 kB / 1.379 GB, free: 11.13 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001264/0.4506, allocations: 3.953 kB / 1.379 GB, free: 11.12 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002875/0.4509, allocations: 132.6 kB / 1.38 GB, free: 10.96 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002722/0.4512, allocations: 0.677 MB / 1.38 GB, free: 10.26 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 4.275e-05/0.4513, allocations: 8.078 kB / 1.38 GB, free: 10.25 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.698e-05/0.4513, allocations: 7.438 kB / 1.38 GB, free: 10.25 MB / 0.8855 GB Notification: Performance of SimCode: time 4.01e-07/0.4513, allocations: 0 / 1.38 GB, free: 10.25 MB / 0.8855 GB Notification: Performance of Templates: time 0.002191/0.4535, allocations: 337.5 kB / 1.381 GB, free: 9.926 MB / 0.8855 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