Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="Buildings_9_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.001241/0.001241, allocations: 108 kB / 15.61 MB, free: 152 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.001236/0.001236, allocations: 197 kB / 16.53 MB, free: 6.664 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.211/1.211, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.106/2.106, allocations: 390.2 MB / 0.6647 GB, free: 460 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 67.89 kB / 0.8126 GB, free: 14.41 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.474/0.4752, allocations: 140.4 MB / 0.9497 GB, free: 9.188 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002006/0.4772, allocations: 1.444 MB / 0.9511 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005592/0.4778, allocations: 0.4995 MB / 0.9516 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.194e-05/0.4778, allocations: 1.312 kB / 0.9516 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.391e-05/0.4778, allocations: 7.922 kB / 0.9516 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001655/0.478, allocations: 24.95 kB / 0.9516 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 8.011e-05/0.4781, allocations: 25.03 kB / 0.9517 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.749e-05/0.4782, allocations: 53.66 kB / 0.9517 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.448e-05/0.4783, allocations: 6.484 kB / 0.9517 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.281e-05/0.4783, allocations: 23.23 kB / 0.9517 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.996e-05/0.4784, allocations: 24.02 kB / 0.9518 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.566e-05/0.4784, allocations: 4.312 kB / 0.9518 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.174e-05/0.4784, allocations: 3.5 kB / 0.9518 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.1e-05/0.4785, allocations: 17.41 kB / 0.9518 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.593e-05/0.4785, allocations: 29.98 kB / 0.9518 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.976e-05/0.4786, allocations: 40.53 kB / 0.9519 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.4786, allocations: 0 / 0.9519 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.062e-06/0.4786, allocations: 1.125 kB / 0.9519 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.576e-06/0.4786, allocations: 0 / 0.9519 GB, free: 7.48 MB / 0.7169 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.0004185/0.479, allocations: 354.1 kB / 0.9522 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.013e-05/0.4791, allocations: 10.12 kB / 0.9522 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.368e-05/0.4791, allocations: 36.22 kB / 0.9522 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.38e-05/0.4791, allocations: 10.69 kB / 0.9523 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.45e-05/0.4792, allocations: 167.6 kB / 0.9524 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.4792, allocations: 5.531 kB / 0.9524 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.05e-05/0.4792, allocations: 2.562 kB / 0.9524 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.4e-05/0.4793, allocations: 60.77 kB / 0.9525 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.141e-06/0.4793, allocations: 1.438 kB / 0.9525 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.415e-06/0.4793, allocations: 0 / 0.9525 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.4794, allocations: 1.281 kB / 0.9525 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.144e-05/0.4794, allocations: 31.31 kB / 0.9525 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002354/0.4797, allocations: 287.5 kB / 0.9528 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001764/0.4798, allocations: 70.44 kB / 0.9529 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.738e-05/0.4799, allocations: 21.3 kB / 0.9529 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.276e-05/0.4799, allocations: 1.219 kB / 0.9529 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001219/0.48, allocations: 76.81 kB / 0.953 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.48, allocations: 0 / 0.953 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0001826/0.4802, allocations: 92.05 kB / 0.953 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.046e-05/0.4803, allocations: 52.75 kB / 0.9531 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.131e-05/0.4803, allocations: 105 kB / 0.9532 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.784e-06/0.4803, allocations: 25.7 kB / 0.9532 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.736e-05/0.4803, allocations: 81.7 kB / 0.9533 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.912e-05/0.4804, allocations: 18.56 kB / 0.9533 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.274e-05/0.4804, allocations: 21.86 kB / 0.9533 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.232e-05/0.4804, allocations: 321.2 kB / 0.9536 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.138e-05/0.4805, allocations: 14.17 kB / 0.9536 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.621e-05/0.4805, allocations: 17.14 kB / 0.9537 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.01e-05/0.4806, allocations: 33.11 kB / 0.9537 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.4806, allocations: 0 / 0.9537 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001002/0.4807, allocations: 78.47 kB / 0.9538 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.4807, allocations: 10.48 kB / 0.9538 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.4807, allocations: 4.781 kB / 0.9538 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.4807, allocations: 1.094 kB / 0.9538 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.842e-05/0.4808, allocations: 8.031 kB / 0.9538 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-06/0.4808, allocations: 0 / 0.9538 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.421e-05/0.4809, allocations: 6.609 kB / 0.9538 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.4809, allocations: 5.688 kB / 0.9538 GB, free: 5.512 MB / 0.7169 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 4.453e-05/0.4809, allocations: 113.2 kB / 0.9539 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.35e-05/0.481, allocations: 6.094 kB / 0.9539 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001616/0.4811, allocations: 111.5 kB / 0.954 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.4811, allocations: 1.281 kB / 0.954 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.4811, allocations: 1.531 kB / 0.954 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.4811, allocations: 256 / 0.954 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.871e-05/0.4812, allocations: 185.2 kB / 0.9542 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.4812, allocations: 5.062 kB / 0.9542 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.847e-05/0.4813, allocations: 12.94 kB / 0.9542 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.4813, allocations: 4.875 kB / 0.9542 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.617e-06/0.4813, allocations: 5.078 kB / 0.9542 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.4813, allocations: 0 / 0.9542 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.4813, allocations: 5.094 kB / 0.9542 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001299/0.4815, allocations: 122.3 kB / 0.9544 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.688e-05/0.4815, allocations: 78.42 kB / 0.9544 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.769e-05/0.4815, allocations: 5.156 kB / 0.9544 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.593e-05/0.4816, allocations: 6.422 kB / 0.9544 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.686e-05/0.4816, allocations: 4.125 kB / 0.9544 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.819e-06/0.4816, allocations: 2.25 kB / 0.9544 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.312e-05/0.4817, allocations: 91.08 kB / 0.9545 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4817, allocations: 1.156 kB / 0.9545 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001807/0.4818, allocations: 9 kB / 0.9545 GB, free: 4.777 MB / 0.7169 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.0002617/0.4821, allocations: 0.6562 MB / 0.9552 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001147/0.4822, allocations: 52.84 kB / 0.9552 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.4822, allocations: 4.656 kB / 0.9552 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.152e-05/0.4823, allocations: 34.77 kB / 0.9553 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001345/0.4824, allocations: 5.781 kB / 0.9553 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007239/0.4832, allocations: 1.228 MB / 0.9565 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.471e-05/0.4833, allocations: 0.6858 MB / 0.9571 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.097e-05/0.4833, allocations: 16.16 kB / 0.9572 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.776e-05/0.4833, allocations: 15.22 kB / 0.9572 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.4833, allocations: 0 / 0.9572 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01581/0.4992, allocations: 1.629 MB / 0.9588 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.482/6.982, allocations: 12.72 kB / 0.9588 GB, free: 1.312 MB / 0.7169 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches