Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.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.SolarTime,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",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.008352/0.008352, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.002566/0.002566, allocations: 199.1 kB / 16.68 MB, free: 5.93 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.623/1.623, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.163/2.163, allocations: 390.2 MB / 0.6648 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 59.91 kB / 0.9504 GB, free: 8.184 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6798/0.6811, allocations: 140.4 MB / 1.087 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002351/0.6835, allocations: 1.593 MB / 1.089 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0007549/0.6842, allocations: 0.5397 MB / 1.09 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.148e-05/0.6843, allocations: 0 / 1.09 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.926e-05/0.6843, allocations: 15.33 kB / 1.09 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002351/0.6846, allocations: 38.22 kB / 1.09 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001077/0.6847, allocations: 44.92 kB / 1.09 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001243/0.6848, allocations: 105.5 kB / 1.09 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.866e-05/0.6849, allocations: 28.09 kB / 1.09 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001017/0.685, allocations: 47.02 kB / 1.09 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000105/0.6851, allocations: 48.02 kB / 1.09 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.264e-05/0.6852, allocations: 9.062 kB / 1.09 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.037e-05/0.6852, allocations: 8.25 kB / 1.09 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.113e-05/0.6852, allocations: 31.59 kB / 1.09 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.773e-05/0.6853, allocations: 42.83 kB / 1.09 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001349/0.6854, allocations: 92.77 kB / 1.09 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.6854, allocations: 0 / 1.09 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.304e-06/0.6855, allocations: 0.6094 kB / 1.09 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.919e-06/0.6855, allocations: 5.281 kB / 1.09 GB, free: 3.547 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006159/0.6861, allocations: 406.5 kB / 1.09 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.6861, allocations: 10.17 kB / 1.09 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.084e-05/0.6862, allocations: 38.81 kB / 1.09 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.493e-05/0.6862, allocations: 9.812 kB / 1.09 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.108e-05/0.6863, allocations: 185.1 kB / 1.091 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.6863, allocations: 4.297 kB / 1.091 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.963e-05/0.6864, allocations: 8.844 kB / 1.091 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001632/0.6865, allocations: 88.62 kB / 1.091 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.6865, allocations: 0 / 1.091 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.6866, allocations: 5.312 kB / 1.091 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.6866, allocations: 4.812 kB / 1.091 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001126/0.6867, allocations: 46.16 kB / 1.091 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004256/0.6871, allocations: 340.4 kB / 1.091 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002691/0.6874, allocations: 109.9 kB / 1.091 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.461e-05/0.6875, allocations: 49.22 kB / 1.091 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.518e-05/0.6875, allocations: 1.188 kB / 1.091 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000189/0.6877, allocations: 96.84 kB / 1.091 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 1.423e-06/0.6877, allocations: 0 / 1.091 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.0003285/0.688, allocations: 152.2 kB / 1.092 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.102e-05/0.6881, allocations: 54.55 kB / 1.092 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.734e-05/0.6881, allocations: 124.1 kB / 1.092 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.202e-05/0.6882, allocations: 35.36 kB / 1.092 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.922e-05/0.6882, allocations: 92.91 kB / 1.092 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.067e-05/0.6882, allocations: 31.3 kB / 1.092 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.505e-05/0.6883, allocations: 29.16 kB / 1.092 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.92e-05/0.6883, allocations: 319.6 kB / 1.092 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.314e-05/0.6884, allocations: 26.42 kB / 1.092 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.805e-05/0.6885, allocations: 34.66 kB / 1.092 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001132/0.6886, allocations: 62.45 kB / 1.092 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.6886, allocations: 4 kB / 1.092 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001712/0.6888, allocations: 115.8 kB / 1.092 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.6888, allocations: 9.078 kB / 1.092 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.6888, allocations: 0.5938 kB / 1.092 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.6888, allocations: 1.516 kB / 1.092 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.6889, allocations: 18.12 kB / 1.092 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.6889, allocations: 0.7188 kB / 1.092 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001071/0.689, allocations: 15.05 kB / 1.092 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.6891, allocations: 7.422 kB / 1.092 GB, free: 1.484 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: 6 (eqnTim.tNext,$PRE.eqnTim.tNext,locTim.tNext,$PRE.locTim.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 6.407e-05/0.6891, allocations: 127.4 kB / 1.093 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.895e-05/0.6892, allocations: 8.484 kB / 1.093 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002617/0.6894, allocations: 144.4 kB / 1.093 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.6894, allocations: 1.344 kB / 1.093 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.6894, allocations: 1.156 kB / 1.093 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.6895, allocations: 5.344 kB / 1.093 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001335/0.6896, allocations: 212.1 kB / 1.093 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.6896, allocations: 0.9375 kB / 1.093 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.459e-05/0.6897, allocations: 19.12 kB / 1.093 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.6897, allocations: 5.266 kB / 1.093 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.6897, allocations: 6.766 kB / 1.093 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.6897, allocations: 0.7188 kB / 1.093 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.6897, allocations: 0 / 1.093 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002174/0.6899, allocations: 166.3 kB / 1.093 GB, free: 0.9375 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.439e-05/0.69, allocations: 89.17 kB / 1.093 GB, free: 0.8359 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.378e-05/0.69, allocations: 7.109 kB / 1.093 GB, free: 0.832 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.6901, allocations: 9.844 kB / 1.093 GB, free: 0.8281 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.159e-05/0.6902, allocations: 21.83 kB / 1.093 GB, free: 0.8164 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.6e-05/0.6902, allocations: 5.359 kB / 1.093 GB, free: 0.8164 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.74e-05/0.6903, allocations: 98.48 kB / 1.093 GB, free: 0.7344 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6903, allocations: 0.8125 kB / 1.093 GB, free: 0.7344 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002119/0.6905, allocations: 23.56 kB / 1.093 GB, free: 0.7305 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: 4 ($whenCondition2,$whenCondition1,locTim.tNext,eqnTim.tNext) * Number of discrete states: 2 (locTim.tNext,eqnTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0003829/0.6909, allocations: 0.7018 MB / 1.094 GB, free: 96 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002034/0.6911, allocations: 86.88 kB / 1.094 GB, free: 68 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.6911, allocations: 0 / 1.094 GB, free: 68 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.67e-05/0.6912, allocations: 50.47 kB / 1.094 GB, free: 52 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001594/0.6914, allocations: 17.09 kB / 1.094 GB, free: 40 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001514/0.6929, allocations: 1.449 MB / 1.096 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002517/0.6931, allocations: 0.7003 MB / 1.096 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 5.782e-05/0.6932, allocations: 8.984 kB / 1.096 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.265e-05/0.6933, allocations: 33.97 kB / 1.096 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of SimCode: time 2.6e-07/0.6933, allocations: 0 / 1.096 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01865/0.7119, allocations: 2.297 MB / 1.099 GB, free: 13.67 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.155/7.867, allocations: 10.28 kB / 1.099 GB, free: 13.67 MB / 0.8731 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.csv --start-time 0 --stop-time 864000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 345.6 Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches