Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 109.4 kB / 16.46 MB, free: 5.906 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 213.6 kB / 19.43 MB, free: 3.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.566/1.566, allocations: 230.6 MB / 252.8 MB, free: 9.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.722/2.722, allocations: 476.7 MB / 0.7672 GB, free: 5.23 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002058/0.002058, allocations: 67.89 kB / 1.112 GB, free: 1.547 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8336/0.8357, allocations: 169.9 MB / 1.278 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.003166/0.8388, allocations: 1.62 MB / 1.28 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001251/0.8401, allocations: 0.6094 MB / 1.28 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.561e-05/0.8402, allocations: 0 / 1.28 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.585e-05/0.8402, allocations: 7.922 kB / 1.28 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002914/0.8405, allocations: 43.7 kB / 1.281 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001951/0.8407, allocations: 51.88 kB / 1.281 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001666/0.8408, allocations: 111.6 kB / 1.281 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.841, allocations: 15.8 kB / 1.281 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001913/0.8411, allocations: 59.77 kB / 1.281 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001329/0.8413, allocations: 47.83 kB / 1.281 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.579e-05/0.8413, allocations: 8 kB / 1.281 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.912e-05/0.8414, allocations: 19.92 kB / 1.281 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.581e-05/0.8414, allocations: 23.91 kB / 1.281 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.021e-05/0.8415, allocations: 43.8 kB / 1.281 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002069/0.8417, allocations: 101.6 kB / 1.281 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.8417, allocations: 4 kB / 1.281 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.322e-06/0.8417, allocations: 0 / 1.281 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.995e-06/0.8417, allocations: 4 kB / 1.281 GB, free: 10.66 MB / 0.9825 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.0008284/0.8425, allocations: 403.1 kB / 1.281 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.8426, allocations: 11.97 kB / 1.281 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.812e-05/0.8426, allocations: 34.75 kB / 1.281 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001835/0.8428, allocations: 24.88 kB / 1.281 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001939/0.843, allocations: 184.2 kB / 1.282 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/0.843, allocations: 8.375 kB / 1.282 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.974e-05/0.8431, allocations: 4.375 kB / 1.282 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000192/0.8433, allocations: 89.7 kB / 1.282 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.178e-06/0.8433, allocations: 0 / 1.282 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/0.8433, allocations: 4 kB / 1.282 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.8433, allocations: 4 kB / 1.282 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001239/0.8434, allocations: 47.91 kB / 1.282 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005828/0.844, allocations: 344.7 kB / 1.282 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003068/0.8443, allocations: 98.66 kB / 1.282 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.735e-05/0.8444, allocations: 36.84 kB / 1.282 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.692e-05/0.8444, allocations: 3.984 kB / 1.282 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002458/0.8447, allocations: 107.3 kB / 1.282 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 1.513e-06/0.8447, allocations: 0 / 1.282 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.0003774/0.845, allocations: 145.8 kB / 1.282 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.888e-05/0.8451, allocations: 55.39 kB / 1.283 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001307/0.8452, allocations: 133.8 kB / 1.283 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.374e-05/0.8453, allocations: 25.7 kB / 1.283 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.993e-05/0.8453, allocations: 96.31 kB / 1.283 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.58e-05/0.8454, allocations: 35.89 kB / 1.283 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.642e-05/0.8454, allocations: 25.7 kB / 1.283 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001624/0.8456, allocations: 318.8 kB / 1.283 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.169e-05/0.8457, allocations: 35.98 kB / 1.283 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.384e-05/0.8457, allocations: 33.23 kB / 1.283 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001258/0.8458, allocations: 61.55 kB / 1.283 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.8459, allocations: 0 / 1.283 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002109/0.8461, allocations: 121.2 kB / 1.283 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.8461, allocations: 8 kB / 1.283 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.8461, allocations: 3.938 kB / 1.283 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.8461, allocations: 0 / 1.283 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.8462, allocations: 19.98 kB / 1.283 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.8462, allocations: 0 / 1.283 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001105/0.8463, allocations: 11.89 kB / 1.283 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.723e-05/0.8463, allocations: 11.98 kB / 1.283 GB, free: 7.926 MB / 0.9825 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 0.0001112/0.8465, allocations: 120.7 kB / 1.284 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.554e-05/0.8465, allocations: 7.953 kB / 1.284 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002927/0.8468, allocations: 146 kB / 1.284 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.982e-06/0.8468, allocations: 4 kB / 1.284 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.8468, allocations: 0 / 1.284 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/0.8468, allocations: 7.922 kB / 1.284 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000214/0.847, allocations: 213.5 kB / 1.284 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.847, allocations: 0 / 1.284 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.589e-05/0.8471, allocations: 19.94 kB / 1.284 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.8471, allocations: 0 / 1.284 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.505e-05/0.8471, allocations: 7.984 kB / 1.284 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.8471, allocations: 4 kB / 1.284 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.8471, allocations: 0 / 1.284 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002637/0.8474, allocations: 161 kB / 1.284 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.677e-05/0.8475, allocations: 85.06 kB / 1.284 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.564e-05/0.8475, allocations: 4 kB / 1.284 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.8476, allocations: 7.984 kB / 1.284 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.31e-05/0.8476, allocations: 19.92 kB / 1.284 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.832e-05/0.8477, allocations: 4 kB / 1.284 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.241e-05/0.8477, allocations: 107.2 kB / 1.284 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.8477, allocations: 0 / 1.284 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002237/0.848, allocations: 23.95 kB / 1.284 GB, free: 6.895 MB / 0.9825 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.0006036/0.8486, allocations: 0.6905 MB / 1.285 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000215/0.8488, allocations: 93.78 kB / 1.285 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.8488, allocations: 0 / 1.285 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.603e-05/0.8489, allocations: 39.92 kB / 1.285 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000189/0.8491, allocations: 30.14 kB / 1.285 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001761/0.8508, allocations: 1.452 MB / 1.287 GB, free: 4.484 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003426/0.8512, allocations: 0.6962 MB / 1.287 GB, free: 3.762 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.228e-05/0.8512, allocations: 24.34 kB / 1.287 GB, free: 3.738 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.414e-05/0.8513, allocations: 27.42 kB / 1.287 GB, free: 3.715 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.8513, allocations: 0 / 1.287 GB, free: 3.715 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02579/0.8771, allocations: 2.322 MB / 1.29 GB, free: 1.539 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.057/8.934, allocations: 14.56 kB / 1.29 GB, free: 1.531 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.csv --start-time 0 --stop-time 864000 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 172.765 Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.fmu > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable solTim.solTim in file Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.csv. Warning: Get data of variable solTim.solTim from file Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.csv failed! Error: Could not read variable solTim.locTim in file Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.csv. Warning: Get data of variable solTim.locTim from file Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.092038370901719]