Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007373/0.007373, allocations: 100.4 kB / 15.73 MB, free: 6.004 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.002087/0.002087, allocations: 192.9 kB / 16.67 MB, free: 5.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.719/2.719, allocations: 469.8 MB / 0.7425 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001961, allocations: 59.91 kB / 1.065 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6378/0.6398, allocations: 159.1 MB / 1.22 GB, free: 2.168 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002516/0.6423, allocations: 1.441 MB / 1.222 GB, free: 0.7188 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0008305/0.6432, allocations: 0.5026 MB / 1.222 GB, free: 216 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.352e-05/0.6432, allocations: 0 / 1.222 GB, free: 216 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.944e-05/0.6432, allocations: 3.938 kB / 1.222 GB, free: 212 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002117/0.6435, allocations: 27.84 kB / 1.222 GB, free: 184 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 9.856e-05/0.6436, allocations: 31.89 kB / 1.222 GB, free: 152 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.594e-05/0.6437, allocations: 43.86 kB / 1.222 GB, free: 108 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 7.453e-05/0.6438, allocations: 7.984 kB / 1.222 GB, free: 100 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 9.054e-05/0.6439, allocations: 31.91 kB / 1.222 GB, free: 68 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.432e-05/0.6439, allocations: 23.92 kB / 1.222 GB, free: 44 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.644, allocations: 4 kB / 1.222 GB, free: 40 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.407e-05/0.644, allocations: 4 kB / 1.222 GB, free: 36 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.519e-05/0.644, allocations: 11.92 kB / 1.222 GB, free: 24 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.215e-05/0.6441, allocations: 19.94 kB / 1.222 GB, free: 4 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001158/0.6442, allocations: 43.66 kB / 1.222 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.6442, allocations: 7.938 kB / 1.222 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.302e-06/0.6442, allocations: 0 / 1.222 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.6442, allocations: 0 / 1.222 GB, free: 15.96 MB / 0.9512 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.0006088/0.6448, allocations: 359.2 kB / 1.223 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.6449, allocations: 8.031 kB / 1.223 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.099e-05/0.6449, allocations: 34.75 kB / 1.223 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.651e-05/0.6449, allocations: 8.875 kB / 1.223 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001439/0.6451, allocations: 164.4 kB / 1.223 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.6451, allocations: 4.375 kB / 1.223 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.297e-05/0.6451, allocations: 384 / 1.223 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001334/0.6453, allocations: 57.8 kB / 1.223 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.6453, allocations: 4 kB / 1.223 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.6453, allocations: 4 kB / 1.223 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.6453, allocations: 4 kB / 1.223 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.94e-05/0.6454, allocations: 19.98 kB / 1.223 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003703/0.6458, allocations: 284.7 kB / 1.223 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002188/0.646, allocations: 66.69 kB / 1.223 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.664e-05/0.6461, allocations: 20.84 kB / 1.223 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.842e-05/0.6461, allocations: 0 / 1.223 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001641/0.6463, allocations: 83.25 kB / 1.223 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.6463, allocations: 0 / 1.223 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6): time 0.000235/0.6465, allocations: 85.67 kB / 1.223 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.841e-05/0.6466, allocations: 55.41 kB / 1.224 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.172e-05/0.6466, allocations: 105.8 kB / 1.224 GB, free: 14.42 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.063e-05/0.6467, allocations: 29.7 kB / 1.224 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.616e-05/0.6467, allocations: 92.03 kB / 1.224 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.301e-05/0.6468, allocations: 11.91 kB / 1.224 GB, free: 14.28 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.491e-05/0.6468, allocations: 25.7 kB / 1.224 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.647, allocations: 314.8 kB / 1.224 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.519e-05/0.647, allocations: 15.98 kB / 1.224 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.194e-05/0.6471, allocations: 15.94 kB / 1.224 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.224e-05/0.6471, allocations: 44.84 kB / 1.224 GB, free: 13.85 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.6471, allocations: 0 / 1.224 GB, free: 13.85 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001398/0.6473, allocations: 73.7 kB / 1.224 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.6473, allocations: 8 kB / 1.224 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.6473, allocations: 0 / 1.224 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.6473, allocations: 4.172 kB / 1.224 GB, free: 13.76 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.299e-05/0.6474, allocations: 8 kB / 1.224 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.6474, allocations: 3.938 kB / 1.224 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.185e-05/0.6475, allocations: 7.984 kB / 1.224 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.6475, allocations: 3.984 kB / 1.224 GB, free: 13.74 MB / 0.9512 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 (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 (7): * Single equations (assignments): 7 * 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 9.869e-05/0.6476, allocations: 126.2 kB / 1.224 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.437e-05/0.6477, allocations: 4 kB / 1.224 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002136/0.6479, allocations: 101.6 kB / 1.224 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.6479, allocations: 0 / 1.224 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.6479, allocations: 4 kB / 1.224 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.6479, allocations: 0 / 1.224 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001664/0.6481, allocations: 185.5 kB / 1.225 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.6481, allocations: 0 / 1.225 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.354e-05/0.6482, allocations: 8 kB / 1.225 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.6482, allocations: 4 kB / 1.225 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.6482, allocations: 11.98 kB / 1.225 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.6482, allocations: 0 / 1.225 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.6482, allocations: 0 / 1.225 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000196/0.6484, allocations: 117 kB / 1.225 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.976e-05/0.6485, allocations: 89.25 kB / 1.225 GB, free: 12.99 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.736e-05/0.6485, allocations: 0 / 1.225 GB, free: 12.99 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.392e-05/0.6486, allocations: 8 kB / 1.225 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.781e-05/0.6486, allocations: 15.98 kB / 1.225 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.039e-05/0.6486, allocations: 0 / 1.225 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.995e-05/0.6487, allocations: 87.27 kB / 1.225 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6487, allocations: 0 / 1.225 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002021/0.6489, allocations: 12 kB / 1.225 GB, free: 12.87 MB / 0.9512 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005171/0.6494, allocations: 0.6632 MB / 1.226 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001405/0.6496, allocations: 48.2 kB / 1.226 GB, free: 12.13 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.6496, allocations: 0 / 1.226 GB, free: 12.13 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 6.643e-05/0.6497, allocations: 31.94 kB / 1.226 GB, free: 12.1 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001385/0.6498, allocations: 0 / 1.226 GB, free: 12.1 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001247/0.6511, allocations: 1.247 MB / 1.227 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000317/0.6514, allocations: 0.6846 MB / 1.228 GB, free: 10.06 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 4.101e-05/0.6514, allocations: 7.984 kB / 1.228 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.449e-05/0.6515, allocations: 15.44 kB / 1.228 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of SimCode: time 2.61e-07/0.6515, allocations: 0 / 1.228 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02135/0.6729, allocations: 1.663 MB / 1.229 GB, free: 8.527 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.509/8.182, allocations: 11.55 kB / 1.229 GB, free: 8.52 MB / 0.9512 GB (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime_res.csv --start-time 0 --stop-time 86400 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.fmu > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches