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.001009/0.001009, 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.0009429/0.0009429, allocations: 195.9 kB / 16.53 MB, free: 6.699 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.177/1.177, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.076/2.076, allocations: 390.3 MB / 0.6647 GB, free: 444 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 63.91 kB / 0.8126 GB, free: 14.38 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5024/0.5037, allocations: 140.4 MB / 0.9497 GB, free: 9.203 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002202/0.5059, allocations: 1.596 MB / 0.9513 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006376/0.5066, allocations: 0.5488 MB / 0.9518 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.152e-05/0.5066, allocations: 0 / 0.9518 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.765e-05/0.5066, allocations: 5.062 kB / 0.9518 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002142/0.5069, allocations: 51.25 kB / 0.9519 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 9.539e-05/0.507, allocations: 32.14 kB / 0.9519 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001011/0.5071, allocations: 112.8 kB / 0.952 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.414e-05/0.5072, allocations: 12.62 kB / 0.952 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.825e-05/0.5073, allocations: 55.67 kB / 0.9521 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.316e-05/0.5074, allocations: 51.73 kB / 0.9521 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.302e-05/0.5074, allocations: 13.16 kB / 0.9521 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.01e-05/0.5074, allocations: 8.031 kB / 0.9521 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.47e-05/0.5074, allocations: 14.45 kB / 0.9522 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.899e-05/0.5075, allocations: 50.61 kB / 0.9522 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.531e-05/0.5076, allocations: 89.72 kB / 0.9523 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.5076, allocations: 0 / 0.9523 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.162e-06/0.5076, allocations: 0 / 0.9523 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.136e-06/0.5076, allocations: 0 / 0.9523 GB, free: 7.184 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000545/0.5082, allocations: 412.1 kB / 0.9527 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.035e-05/0.5082, allocations: 8.969 kB / 0.9527 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.881e-05/0.5082, allocations: 41.7 kB / 0.9527 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.093e-05/0.5083, allocations: 9.188 kB / 0.9527 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.681e-05/0.5084, allocations: 183 kB / 0.9529 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.5084, allocations: 11 kB / 0.9529 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.445e-05/0.5084, allocations: 8.625 kB / 0.9529 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001332/0.5085, allocations: 94.08 kB / 0.953 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-06/0.5085, allocations: 0 / 0.953 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.5086, allocations: 1.469 kB / 0.953 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.5086, allocations: 1.344 kB / 0.953 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.852e-05/0.5087, allocations: 52.62 kB / 0.9531 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003568/0.509, allocations: 344.7 kB / 0.9534 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002354/0.5093, allocations: 106.9 kB / 0.9535 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.75e-05/0.5094, allocations: 45.58 kB / 0.9535 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.324e-05/0.5094, allocations: 1.469 kB / 0.9536 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001523/0.5095, allocations: 95.66 kB / 0.9536 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.382e-06/0.5095, allocations: 5.094 kB / 0.9536 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0002649/0.5098, allocations: 146.5 kB / 0.9538 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.392e-05/0.5098, allocations: 52.59 kB / 0.9538 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.25e-05/0.5099, allocations: 134.5 kB / 0.954 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.087e-05/0.5099, allocations: 27.08 kB / 0.954 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.364e-05/0.51, allocations: 95.25 kB / 0.9541 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.633e-05/0.51, allocations: 31.84 kB / 0.9541 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-05/0.51, allocations: 29.89 kB / 0.9541 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.595e-05/0.5101, allocations: 321.2 kB / 0.9544 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.334e-05/0.5101, allocations: 29.86 kB / 0.9545 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.669e-05/0.5102, allocations: 24.44 kB / 0.9545 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.654e-05/0.5103, allocations: 70.88 kB / 0.9546 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.5103, allocations: 0 / 0.9546 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001444/0.5104, allocations: 110.5 kB / 0.9547 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/0.5105, allocations: 9.844 kB / 0.9547 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.5105, allocations: 0 / 0.9547 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.5105, allocations: 1.094 kB / 0.9547 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.5106, allocations: 22.17 kB / 0.9547 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.5106, allocations: 1.219 kB / 0.9547 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001009/0.5107, allocations: 20.08 kB / 0.9547 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.5107, allocations: 2.156 kB / 0.9547 GB, free: 4.93 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: 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 5.512e-05/0.5108, allocations: 122.7 kB / 0.9548 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.758e-05/0.5108, allocations: 8.25 kB / 0.9549 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002247/0.511, allocations: 142.6 kB / 0.955 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.511, allocations: 5.156 kB / 0.955 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.5111, allocations: 1.031 kB / 0.955 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.5111, allocations: 7.875 kB / 0.955 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001072/0.5112, allocations: 212.8 kB / 0.9552 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.5112, allocations: 1.156 kB / 0.9552 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.644e-05/0.5113, allocations: 20.2 kB / 0.9552 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.5113, allocations: 1.062 kB / 0.9552 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.5113, allocations: 1.031 kB / 0.9552 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.5113, allocations: 5.094 kB / 0.9552 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.5113, allocations: 0 / 0.9552 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001867/0.5115, allocations: 167.3 kB / 0.9554 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.26e-05/0.5115, allocations: 92.3 kB / 0.9555 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.277e-05/0.5115, allocations: 1.125 kB / 0.9555 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.5116, allocations: 8.391 kB / 0.9555 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.07e-05/0.5117, allocations: 16.86 kB / 0.9555 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.352e-05/0.5117, allocations: 8.281 kB / 0.9555 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.831e-05/0.5118, allocations: 97.95 kB / 0.9556 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.5118, allocations: 5.312 kB / 0.9556 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001929/0.512, allocations: 26.34 kB / 0.9556 GB, free: 4.109 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: 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.0003349/0.5123, allocations: 0.698 MB / 0.9563 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001654/0.5125, allocations: 89.69 kB / 0.9564 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.5125, allocations: 0 / 0.9564 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.734e-05/0.5126, allocations: 56.92 kB / 0.9565 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001436/0.5127, allocations: 14.53 kB / 0.9565 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009844/0.5137, allocations: 1.441 MB / 0.9579 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.614e-05/0.5138, allocations: 0.706 MB / 0.9586 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.207e-05/0.5139, allocations: 10.3 kB / 0.9586 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.585e-05/0.5139, allocations: 33.77 kB / 0.9586 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of SimCode: time 3.21e-07/0.5139, allocations: 0 / 0.9586 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01464/0.5286, allocations: 2.258 MB / 0.9608 GB, free: 188 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.416/6.944, allocations: 15.64 kB / 0.9608 GB, free: 180 kB / 0.7169 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