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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="Buildings_latest_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.004408/0.004408, allocations: 102.5 kB / 15.73 MB, free: 6.066 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.001252/0.001252, allocations: 197.1 kB / 16.68 MB, free: 5.973 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.387/1.387, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.743/2.743, allocations: 482.4 MB / 0.7548 GB, free: 6.883 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001923, allocations: 69.31 kB / 1.083 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2768/0.2788, allocations: 162.2 MB / 1.241 GB, free: 9.254 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002637/0.2814, allocations: 1.45 MB / 1.243 GB, free: 7.793 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0008899/0.2823, allocations: 0.504 MB / 1.243 GB, free: 7.285 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.731e-05/0.2824, allocations: 3.938 kB / 1.243 GB, free: 7.281 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.922e-05/0.2824, allocations: 3.984 kB / 1.243 GB, free: 7.277 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.000198/0.2826, allocations: 23.88 kB / 1.243 GB, free: 7.254 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001152/0.2828, allocations: 31.89 kB / 1.243 GB, free: 7.223 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.081e-05/0.2829, allocations: 51.78 kB / 1.243 GB, free: 7.172 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 7.9e-05/0.283, allocations: 8 kB / 1.243 GB, free: 7.164 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.99e-05/0.283, allocations: 27.91 kB / 1.244 GB, free: 7.137 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.721e-05/0.2831, allocations: 19.92 kB / 1.244 GB, free: 7.117 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.181e-05/0.2832, allocations: 4 kB / 1.244 GB, free: 7.113 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.495e-05/0.2832, allocations: 4 kB / 1.244 GB, free: 7.109 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.325e-05/0.2832, allocations: 7.984 kB / 1.244 GB, free: 7.102 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.535e-05/0.2833, allocations: 27.91 kB / 1.244 GB, free: 7.074 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 9.845e-05/0.2834, allocations: 40.11 kB / 1.244 GB, free: 7.035 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.2834, allocations: 4 kB / 1.244 GB, free: 7.031 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.252e-06/0.2834, allocations: 3.938 kB / 1.244 GB, free: 7.027 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.582e-06/0.2834, allocations: 0 / 1.244 GB, free: 7.027 MB / 0.9669 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.0005869/0.284, allocations: 351.3 kB / 1.244 GB, free: 6.637 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.284, allocations: 12.03 kB / 1.244 GB, free: 6.625 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.852e-05/0.2841, allocations: 34.75 kB / 1.244 GB, free: 6.582 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.26e-05/0.2841, allocations: 16.88 kB / 1.244 GB, free: 6.566 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000139/0.2843, allocations: 160.4 kB / 1.244 GB, free: 6.371 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.2843, allocations: 4.375 kB / 1.244 GB, free: 6.367 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.144e-05/0.2843, allocations: 4.375 kB / 1.244 GB, free: 6.363 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001263/0.2844, allocations: 61.78 kB / 1.244 GB, free: 6.297 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.2844, allocations: 0 / 1.244 GB, free: 6.297 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.2845, allocations: 0 / 1.244 GB, free: 6.297 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.2845, allocations: 4 kB / 1.244 GB, free: 6.293 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.786e-05/0.2846, allocations: 27.91 kB / 1.244 GB, free: 6.266 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003745/0.2849, allocations: 284.7 kB / 1.245 GB, free: 5.938 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002206/0.2852, allocations: 62.67 kB / 1.245 GB, free: 5.867 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.625e-05/0.2852, allocations: 16.86 kB / 1.245 GB, free: 5.848 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.689e-05/0.2852, allocations: 0 / 1.245 GB, free: 5.848 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000181/0.2854, allocations: 83.31 kB / 1.245 GB, free: 5.754 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=6): time 1.362e-06/0.2854, allocations: 0 / 1.245 GB, free: 5.754 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.0002396/0.2857, allocations: 81.67 kB / 1.245 GB, free: 5.668 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.678e-05/0.2857, allocations: 59.41 kB / 1.245 GB, free: 5.598 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.546e-05/0.2858, allocations: 97.84 kB / 1.245 GB, free: 5.492 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.141e-05/0.2859, allocations: 29.7 kB / 1.245 GB, free: 5.457 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.638e-05/0.2859, allocations: 88.08 kB / 1.245 GB, free: 5.367 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.523e-05/0.286, allocations: 19.84 kB / 1.245 GB, free: 5.348 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.51e-05/0.286, allocations: 21.72 kB / 1.245 GB, free: 5.32 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.2862, allocations: 322.8 kB / 1.245 GB, free: 4.996 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.997e-05/0.2862, allocations: 12 kB / 1.245 GB, free: 4.984 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.548e-05/0.2862, allocations: 19.98 kB / 1.245 GB, free: 4.965 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.08e-05/0.2863, allocations: 40.86 kB / 1.245 GB, free: 4.922 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.2863, allocations: 0 / 1.245 GB, free: 4.922 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001512/0.2865, allocations: 73.81 kB / 1.246 GB, free: 4.844 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.2865, allocations: 8 kB / 1.246 GB, free: 4.836 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.2865, allocations: 256 / 1.246 GB, free: 4.836 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.2865, allocations: 0 / 1.246 GB, free: 4.836 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.121e-05/0.2866, allocations: 23.88 kB / 1.246 GB, free: 4.812 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.369e-06/0.2866, allocations: 0 / 1.246 GB, free: 4.812 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.372e-05/0.2867, allocations: 15.88 kB / 1.246 GB, free: 4.797 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.826e-06/0.2867, allocations: 0 / 1.246 GB, free: 4.797 MB / 0.9669 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.029e-05/0.2868, allocations: 117.8 kB / 1.246 GB, free: 4.672 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.151e-05/0.2868, allocations: 192 / 1.246 GB, free: 4.672 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002181/0.2871, allocations: 105.6 kB / 1.246 GB, free: 4.559 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.2871, allocations: 3.984 kB / 1.246 GB, free: 4.555 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.2871, allocations: 8 kB / 1.246 GB, free: 4.547 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.2871, allocations: 0 / 1.246 GB, free: 4.547 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001695/0.2873, allocations: 185.5 kB / 1.246 GB, free: 4.316 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.2873, allocations: 0 / 1.246 GB, free: 4.316 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.722e-05/0.2874, allocations: 15.98 kB / 1.246 GB, free: 4.301 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.2874, allocations: 0 / 1.246 GB, free: 4.301 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.2874, allocations: 4 kB / 1.246 GB, free: 4.297 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.2874, allocations: 0 / 1.246 GB, free: 4.297 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.2874, allocations: 0 / 1.246 GB, free: 4.297 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001944/0.2876, allocations: 121 kB / 1.246 GB, free: 4.16 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.088e-05/0.2877, allocations: 85.06 kB / 1.246 GB, free: 4.059 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.711e-05/0.2877, allocations: 0 / 1.246 GB, free: 4.059 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.342e-05/0.2878, allocations: 11.98 kB / 1.246 GB, free: 4.047 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.237e-05/0.2878, allocations: 3.938 kB / 1.246 GB, free: 4.043 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.376e-05/0.2878, allocations: 8.172 kB / 1.246 GB, free: 4.035 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.972e-05/0.2879, allocations: 83.28 kB / 1.246 GB, free: 3.953 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2879, allocations: 3.938 kB / 1.246 GB, free: 3.949 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002049/0.2881, allocations: 12 kB / 1.246 GB, free: 3.938 MB / 0.9669 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.0005133/0.2886, allocations: 0.6592 MB / 1.247 GB, free: 3.25 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001454/0.2888, allocations: 51.91 kB / 1.247 GB, free: 3.199 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.2888, allocations: 0 / 1.247 GB, free: 3.199 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 6.798e-05/0.2888, allocations: 31.98 kB / 1.247 GB, free: 3.168 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001462/0.289, allocations: 5.875 kB / 1.247 GB, free: 3.164 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001259/0.2903, allocations: 1.238 MB / 1.248 GB, free: 1.844 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003206/0.2906, allocations: 0.6884 MB / 1.249 GB, free: 1.129 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.921e-05/0.2906, allocations: 4 kB / 1.249 GB, free: 1.125 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.316e-05/0.2907, allocations: 19.42 kB / 1.249 GB, free: 1.105 MB / 0.9669 GB Notification: Performance of SimCode: time 3.51e-07/0.2907, allocations: 0 / 1.249 GB, free: 1.105 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02183/0.3125, allocations: 1.662 MB / 1.251 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.472/7.785, allocations: 6.281 kB / 1.251 GB, free: 15.58 MB / 0.9825 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches