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.004849/0.004849, allocations: 100.8 kB / 15.73 MB, free: 6.062 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.001145/0.001145, allocations: 195.7 kB / 16.68 MB, free: 5.977 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.27/1.27, 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 9.1.3-maint.9.1.x/package.mo): time 2.077/2.077, allocations: 390.3 MB / 0.6648 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 71.88 kB / 0.9504 GB, free: 8.129 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6972/0.6984, allocations: 140.4 MB / 1.087 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002086/0.7005, allocations: 1.436 MB / 1.089 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0006599/0.7012, allocations: 0.5066 MB / 1.089 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.537e-05/0.7012, allocations: 0 / 1.089 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.439e-05/0.7013, allocations: 9.156 kB / 1.089 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001847/0.7015, allocations: 27.69 kB / 1.089 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 8.992e-05/0.7016, allocations: 24.58 kB / 1.089 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.741e-05/0.7016, allocations: 54.17 kB / 1.089 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.454e-05/0.7017, allocations: 6.156 kB / 1.089 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.566e-05/0.7019, allocations: 25.08 kB / 1.09 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.74e-05/0.7019, allocations: 30.84 kB / 1.09 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.946e-05/0.702, allocations: 8.25 kB / 1.09 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.241e-05/0.702, allocations: 3.312 kB / 1.09 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.705e-05/0.702, allocations: 8.766 kB / 1.09 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.702e-05/0.7021, allocations: 16.66 kB / 1.09 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001048/0.7022, allocations: 44 kB / 1.09 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.7022, allocations: 0 / 1.09 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.074e-06/0.7022, allocations: 1.25 kB / 1.09 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.137e-06/0.7022, allocations: 0 / 1.09 GB, free: 3.789 MB / 0.8575 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.0004641/0.7027, allocations: 360.5 kB / 1.09 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.7027, allocations: 14.34 kB / 1.09 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.416e-05/0.7027, allocations: 33.77 kB / 1.09 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.583e-05/0.7028, allocations: 2.781 kB / 1.09 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.451e-05/0.7029, allocations: 171.9 kB / 1.09 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.7029, allocations: 6.531 kB / 1.09 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.46e-05/0.7029, allocations: 2.719 kB / 1.09 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001097/0.703, allocations: 63.45 kB / 1.09 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.703, allocations: 0 / 1.09 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.703, allocations: 4 kB / 1.09 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.703, allocations: 1.062 kB / 1.09 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.611e-05/0.7031, allocations: 29.66 kB / 1.09 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002675/0.7034, allocations: 278.2 kB / 1.091 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001922/0.7036, allocations: 61.36 kB / 1.091 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.298e-05/0.7036, allocations: 28.39 kB / 1.091 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.323e-05/0.7037, allocations: 1.219 kB / 1.091 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001349/0.7038, allocations: 72.64 kB / 1.091 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.7038, allocations: 0 / 1.091 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0002118/0.704, allocations: 87.66 kB / 1.091 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.983e-05/0.7041, allocations: 53.08 kB / 1.091 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.756e-05/0.7041, allocations: 103.2 kB / 1.091 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.458e-06/0.7041, allocations: 30.42 kB / 1.091 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.942e-05/0.7041, allocations: 85.66 kB / 1.091 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.296e-05/0.7042, allocations: 16.22 kB / 1.091 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.537e-05/0.7042, allocations: 25.66 kB / 1.091 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.529e-05/0.7043, allocations: 320.7 kB / 1.091 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.713e-05/0.7043, allocations: 17.89 kB / 1.091 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.042e-05/0.7043, allocations: 14.02 kB / 1.091 GB, free: 2 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.606e-05/0.7044, allocations: 40.41 kB / 1.091 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.7044, allocations: 0 / 1.091 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001066/0.7045, allocations: 76.39 kB / 1.092 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/0.7045, allocations: 5.719 kB / 1.092 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.7045, allocations: 0.6094 kB / 1.092 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.7046, allocations: 1.219 kB / 1.092 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.383e-05/0.7046, allocations: 14.27 kB / 1.092 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.73e-06/0.7047, allocations: 1.094 kB / 1.092 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.579e-05/0.7047, allocations: 15.25 kB / 1.092 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.7047, allocations: 2.438 kB / 1.092 GB, free: 1.91 MB / 0.8575 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 5.025e-05/0.7048, allocations: 117.9 kB / 1.092 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.288e-05/0.7048, allocations: 2.109 kB / 1.092 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001825/0.705, allocations: 108 kB / 1.092 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.705, allocations: 1.031 kB / 1.092 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.705, allocations: 1.062 kB / 1.092 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.705, allocations: 0.6562 kB / 1.092 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.374e-05/0.7051, allocations: 181.3 kB / 1.092 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.7051, allocations: 256 / 1.092 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.15e-05/0.7052, allocations: 15.75 kB / 1.092 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.7052, allocations: 0 / 1.092 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.7052, allocations: 6.25 kB / 1.092 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.7052, allocations: 1.5 kB / 1.092 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.7052, allocations: 0.7031 kB / 1.092 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001422/0.7054, allocations: 121.4 kB / 1.092 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.903e-05/0.7054, allocations: 80.92 kB / 1.092 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.729e-05/0.7054, allocations: 5.781 kB / 1.092 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.569e-05/0.7055, allocations: 3.156 kB / 1.092 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.685e-05/0.7055, allocations: 14.31 kB / 1.092 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.198e-05/0.7056, allocations: 10.81 kB / 1.092 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.556e-05/0.7056, allocations: 86.38 kB / 1.092 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.7056, allocations: 0 / 1.092 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001888/0.7058, allocations: 17.09 kB / 1.092 GB, free: 1.211 MB / 0.8575 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.0003353/0.7061, allocations: 0.656 MB / 1.093 GB, free: 16.59 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001405/0.7063, allocations: 49.34 kB / 1.093 GB, free: 16.58 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.7063, allocations: 0 / 1.093 GB, free: 16.58 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 6.198e-05/0.7063, allocations: 29.77 kB / 1.093 GB, free: 16.57 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001414/0.7065, allocations: 7.359 kB / 1.093 GB, free: 16.57 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.7075, allocations: 1.229 MB / 1.094 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002262/0.7078, allocations: 0.6841 MB / 1.095 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.946e-05/0.7078, allocations: 16.78 kB / 1.095 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.427e-05/0.7079, allocations: 17.73 kB / 1.095 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of SimCode: time 2.41e-07/0.7079, allocations: 0 / 1.095 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01523/0.7231, allocations: 1.647 MB / 1.097 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.136/7.859, allocations: 18.11 kB / 1.097 GB, free: 14.32 MB / 0.8731 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