Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="Buildings_10_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.001233/0.001233, 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.001229/0.001229, allocations: 195.5 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.246/1.246, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.358/2.358, allocations: 437.1 MB / 0.7104 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 67.91 kB / 0.8694 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5177/0.5189, allocations: 151.6 MB / 1.017 GB, free: 2.516 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002362/0.5213, allocations: 1.6 MB / 1.019 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.000711/0.522, allocations: 0.5338 MB / 1.02 GB, free: 376 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.425e-05/0.5221, allocations: 0 / 1.02 GB, free: 376 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.977e-05/0.5221, allocations: 11.86 kB / 1.02 GB, free: 364 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0002097/0.5223, allocations: 35.78 kB / 1.02 GB, free: 328 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 9.718e-05/0.5224, allocations: 43.88 kB / 1.02 GB, free: 284 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001043/0.5225, allocations: 111.6 kB / 1.02 GB, free: 172 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.061e-05/0.5226, allocations: 27.95 kB / 1.02 GB, free: 144 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 9.086e-05/0.5227, allocations: 47.84 kB / 1.02 GB, free: 96 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.942e-05/0.5228, allocations: 55.75 kB / 1.02 GB, free: 40 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.217e-05/0.5229, allocations: 8 kB / 1.02 GB, free: 32 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.947e-05/0.5229, allocations: 8 kB / 1.02 GB, free: 24 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.897e-05/0.5229, allocations: 23.91 kB / 1.02 GB, free: 0 / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 6.92e-05/0.523, allocations: 39.94 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001069/0.5231, allocations: 97.78 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.5231, allocations: 0 / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.012e-06/0.5231, allocations: 0 / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.153e-06/0.5231, allocations: 0 / 1.02 GB, free: 15.87 MB / 0.7794 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.0006065/0.5237, allocations: 408.5 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 2.986e-05/0.5238, allocations: 8.031 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.273e-05/0.5238, allocations: 42.69 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.129e-05/0.5239, allocations: 8.844 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.524, allocations: 188.1 kB / 1.021 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.524, allocations: 4.375 kB / 1.021 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.648e-05/0.524, allocations: 12.38 kB / 1.021 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001459/0.5242, allocations: 85.77 kB / 1.021 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.282e-06/0.5242, allocations: 0 / 1.021 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.5242, allocations: 0 / 1.021 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.5242, allocations: 4 kB / 1.021 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.938e-05/0.5243, allocations: 47.97 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004148/0.5247, allocations: 344.5 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002467/0.525, allocations: 106.7 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.112e-05/0.5251, allocations: 44.84 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.562e-05/0.5251, allocations: 4 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001684/0.5253, allocations: 103.3 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 1.323e-06/0.5253, allocations: 0 / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.0002778/0.5256, allocations: 149.5 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.894e-05/0.5256, allocations: 55.41 kB / 1.022 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.901e-05/0.5257, allocations: 122.2 kB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.5257, allocations: 29.7 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.711e-05/0.5257, allocations: 96.27 kB / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.341e-05/0.5258, allocations: 31.69 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.64e-05/0.5258, allocations: 33.7 kB / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 7.699e-05/0.5259, allocations: 322.8 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.455e-05/0.526, allocations: 27.98 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.922e-05/0.526, allocations: 35.98 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001047/0.5261, allocations: 60.84 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-06/0.5261, allocations: 0 / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001576/0.5263, allocations: 110.6 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.869e-06/0.5263, allocations: 4 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.367e-06/0.5263, allocations: 0 / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.5263, allocations: 4 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.989e-05/0.5265, allocations: 23.98 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.067e-06/0.5265, allocations: 0 / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001029/0.5266, allocations: 15.88 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.5266, allocations: 3.984 kB / 1.022 GB, free: 13.14 MB / 0.7794 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 7.77e-05/0.5267, allocations: 122.3 kB / 1.023 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.702e-05/0.5267, allocations: 7.844 kB / 1.023 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002329/0.5269, allocations: 155.7 kB / 1.023 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.5269, allocations: 0 / 1.023 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.527, allocations: 0 / 1.023 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.527, allocations: 7.922 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001407/0.5271, allocations: 213.5 kB / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.5271, allocations: 0 / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.293e-05/0.5272, allocations: 12 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.5272, allocations: 4 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/0.5272, allocations: 7.984 kB / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.5272, allocations: 3.938 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.5272, allocations: 0 / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002034/0.5274, allocations: 164.9 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.513e-05/0.5275, allocations: 88.95 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.501e-05/0.5275, allocations: 4 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.5276, allocations: 15.97 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.869e-05/0.5277, allocations: 11.92 kB / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.546e-05/0.5277, allocations: 8 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.198e-05/0.5277, allocations: 103.1 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5277, allocations: 4 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001962/0.5279, allocations: 24 kB / 1.023 GB, free: 12.1 MB / 0.7794 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.0004169/0.5284, allocations: 0.6952 MB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001772/0.5286, allocations: 95.03 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.5286, allocations: 0 / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.25e-05/0.5287, allocations: 55.91 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001489/0.5288, allocations: 15.94 kB / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001195/0.53, allocations: 1.436 MB / 1.026 GB, free: 9.695 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001891/0.5302, allocations: 0.7041 MB / 1.026 GB, free: 8.965 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.119e-05/0.5303, allocations: 4.562 kB / 1.026 GB, free: 8.961 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.795e-05/0.5303, allocations: 31.42 kB / 1.026 GB, free: 8.934 MB / 0.7794 GB Notification: Performance of SimCode: time 2.01e-07/0.5303, allocations: 0 / 1.026 GB, free: 8.934 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01658/0.5469, allocations: 2.264 MB / 1.029 GB, free: 6.797 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.598/7.145, allocations: 9.453 kB / 1.029 GB, free: 6.789 MB / 0.7794 GB (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.fmu > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches