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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001192/0.001192, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 194.2 kB / 16.53 MB, free: 6.391 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.209/1.209, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.464/2.464, allocations: 469.4 MB / 0.742 GB, free: 7.691 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 67.95 kB / 0.9083 GB, free: 34.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2265/0.2277, allocations: 159.1 MB / 1.064 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002275/0.2301, allocations: 1.451 MB / 1.065 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0007147/0.2308, allocations: 0.5004 MB / 1.066 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.673e-05/0.2308, allocations: 0 / 1.066 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.804e-05/0.2309, allocations: 3.938 kB / 1.066 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001833/0.2311, allocations: 19.86 kB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 9.468e-05/0.2312, allocations: 35.89 kB / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.899e-05/0.2313, allocations: 47.8 kB / 1.066 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.646e-05/0.2313, allocations: 8 kB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.875e-05/0.2314, allocations: 23.97 kB / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.54e-05/0.2315, allocations: 27.84 kB / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.483e-05/0.2315, allocations: 4 kB / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.19e-05/0.2315, allocations: 4 kB / 1.066 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.226e-05/0.2316, allocations: 15.92 kB / 1.066 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.684e-05/0.2316, allocations: 19.92 kB / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.171e-05/0.2317, allocations: 48.09 kB / 1.066 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.2317, allocations: 0 / 1.066 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.253e-06/0.2317, allocations: 0 / 1.066 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.987e-06/0.2317, allocations: 0 / 1.066 GB, free: 12.29 MB / 0.8262 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.0004945/0.2322, allocations: 352.8 kB / 1.066 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.117e-05/0.2323, allocations: 8.031 kB / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.459e-05/0.2323, allocations: 42.69 kB / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.399e-05/0.2323, allocations: 0.9375 kB / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.2324, allocations: 176.2 kB / 1.066 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.2324, allocations: 384 / 1.066 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.307e-05/0.2325, allocations: 8.375 kB / 1.066 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001066/0.2326, allocations: 61.78 kB / 1.066 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.631e-06/0.2326, allocations: 0 / 1.066 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.2326, allocations: 4 kB / 1.066 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.2326, allocations: 4 kB / 1.066 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.794e-05/0.2327, allocations: 19.98 kB / 1.066 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002965/0.233, allocations: 280.8 kB / 1.067 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001903/0.2332, allocations: 62.69 kB / 1.067 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.375e-05/0.2332, allocations: 24.84 kB / 1.067 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.235e-05/0.2333, allocations: 0 / 1.067 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001392/0.2334, allocations: 75.31 kB / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.2334, allocations: 3.938 kB / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.000206/0.2336, allocations: 85.67 kB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.01e-05/0.2337, allocations: 55.41 kB / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.037e-05/0.2337, allocations: 109.8 kB / 1.067 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/0.2337, allocations: 29.7 kB / 1.067 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.111e-05/0.2338, allocations: 84.05 kB / 1.067 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.296e-05/0.2338, allocations: 19.75 kB / 1.067 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.669e-05/0.2339, allocations: 21.7 kB / 1.067 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.237e-05/0.2339, allocations: 318.8 kB / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.608e-05/0.234, allocations: 15.92 kB / 1.068 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.042e-05/0.234, allocations: 16 kB / 1.068 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.826e-05/0.2341, allocations: 48.91 kB / 1.068 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.2341, allocations: 0 / 1.068 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001094/0.2342, allocations: 65.69 kB / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.2342, allocations: 4 kB / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.2342, allocations: 3.938 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.2343, allocations: 4 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.325e-05/0.2343, allocations: 15.92 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.2343, allocations: 0 / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.698e-05/0.2344, allocations: 3.906 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/0.2344, allocations: 11.98 kB / 1.068 GB, free: 10.06 MB / 0.8262 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 7.092e-05/0.2345, allocations: 118.3 kB / 1.068 GB, free: 9.934 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.181e-05/0.2345, allocations: 0 / 1.068 GB, free: 9.934 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001854/0.2347, allocations: 105.6 kB / 1.068 GB, free: 9.824 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.2347, allocations: 0 / 1.068 GB, free: 9.824 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.2347, allocations: 0 / 1.068 GB, free: 9.824 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.2347, allocations: 0 / 1.068 GB, free: 9.824 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000116/0.2349, allocations: 181.6 kB / 1.068 GB, free: 9.598 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2349, allocations: 4 kB / 1.068 GB, free: 9.594 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.984e-05/0.2349, allocations: 16.25 kB / 1.068 GB, free: 9.578 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.2349, allocations: 0 / 1.068 GB, free: 9.578 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.235, allocations: 4 kB / 1.068 GB, free: 9.574 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.235, allocations: 0 / 1.068 GB, free: 9.574 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.235, allocations: 3.984 kB / 1.068 GB, free: 9.57 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001546/0.2351, allocations: 124.9 kB / 1.068 GB, free: 9.43 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.566e-05/0.2352, allocations: 84.95 kB / 1.068 GB, free: 9.328 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.907e-05/0.2352, allocations: 11.94 kB / 1.068 GB, free: 9.316 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.771e-05/0.2353, allocations: 4 kB / 1.068 GB, free: 9.312 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.222e-05/0.2353, allocations: 7.984 kB / 1.068 GB, free: 9.305 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.2353, allocations: 4 kB / 1.068 GB, free: 9.301 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.977e-05/0.2354, allocations: 87.27 kB / 1.068 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2354, allocations: 3.938 kB / 1.069 GB, free: 9.211 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000184/0.2356, allocations: 8 kB / 1.069 GB, free: 9.203 MB / 0.8262 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.000415/0.236, allocations: 0.6645 MB / 1.069 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001287/0.2361, allocations: 52.14 kB / 1.069 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.2361, allocations: 0 / 1.069 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.467e-05/0.2362, allocations: 24 kB / 1.069 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001428/0.2363, allocations: 8 kB / 1.069 GB, free: 8.43 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/0.2374, allocations: 1.231 MB / 1.07 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001801/0.2375, allocations: 0.6846 MB / 1.071 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.995e-05/0.2376, allocations: 4.422 kB / 1.071 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.454e-05/0.2376, allocations: 19.42 kB / 1.071 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of SimCode: time 2.81e-07/0.2376, allocations: 0 / 1.071 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01558/0.2532, allocations: 1.637 MB / 1.073 GB, free: 4.875 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.5/6.753, allocations: 448 / 1.073 GB, free: 4.875 MB / 0.8262 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 50 --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