Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001897/0.001897, allocations: 103.6 kB / 18.95 MB, free: 2.656 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.002719/0.002719, allocations: 221.6 kB / 22.25 MB, free: 5.262 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.519/1.519, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.129/3.129, allocations: 0.49 GB / 0.7951 GB, free: 35.46 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="Buildings_12_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.002026/0.002026, allocations: 68.64 kB / 1.154 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3711/0.3731, allocations: 176.1 MB / 1.326 GB, free: 1.523 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.003607/0.3767, allocations: 1.597 MB / 1.327 GB, free: 15.92 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001313/0.378, allocations: 0.5532 MB / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.364e-05/0.3781, allocations: 4 kB / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.314e-05/0.3782, allocations: 11.86 kB / 1.328 GB, free: 15.35 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003585/0.3785, allocations: 35.77 kB / 1.328 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002467/0.3788, allocations: 47.89 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002906/0.3791, allocations: 111.6 kB / 1.328 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001443/0.3792, allocations: 19.92 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002196/0.3794, allocations: 59.77 kB / 1.328 GB, free: 15.08 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001316/0.3796, allocations: 51.83 kB / 1.328 GB, free: 15.03 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.742e-05/0.3796, allocations: 8 kB / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.181e-05/0.3797, allocations: 20 kB / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.576e-05/0.3797, allocations: 19.91 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.982e-05/0.3798, allocations: 43.84 kB / 1.328 GB, free: 14.94 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002387/0.38, allocations: 99.56 kB / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/0.38, allocations: 3.984 kB / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.933e-06/0.38, allocations: 0 / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.673e-06/0.38, allocations: 0 / 1.328 GB, free: 14.84 MB / 1.029 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.0008109/0.3809, allocations: 331 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.3809, allocations: 12.02 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.018e-05/0.381, allocations: 42.69 kB / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001832/0.3811, allocations: 20.86 kB / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001615/0.3813, allocations: 118.4 kB / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.166e-05/0.3813, allocations: 8.375 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.151e-05/0.3813, allocations: 4.375 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001988/0.3815, allocations: 89.77 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.3815, allocations: 0 / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.75e-05/0.3816, allocations: 4 kB / 1.329 GB, free: 14.15 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.717e-06/0.3816, allocations: 4 kB / 1.329 GB, free: 14.15 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001186/0.3817, allocations: 51.91 kB / 1.329 GB, free: 14.1 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005719/0.3823, allocations: 295.8 kB / 1.329 GB, free: 13.77 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003126/0.3826, allocations: 98.66 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.779e-05/0.3827, allocations: 36.84 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.678e-05/0.3827, allocations: 3.938 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003116/0.383, allocations: 111.2 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.583e-06/0.383, allocations: 3.938 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.0003847/0.3834, allocations: 145.6 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.515e-05/0.3834, allocations: 55.41 kB / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.3836, allocations: 121.8 kB / 1.33 GB, free: 13.15 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.284e-05/0.3836, allocations: 25.7 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.513e-05/0.3837, allocations: 100.3 kB / 1.33 GB, free: 13.01 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.648e-05/0.3837, allocations: 35.86 kB / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.663e-05/0.3838, allocations: 25.72 kB / 1.33 GB, free: 12.95 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001691/0.3839, allocations: 322.8 kB / 1.33 GB, free: 12.62 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.418e-05/0.384, allocations: 31.98 kB / 1.33 GB, free: 12.59 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.261e-05/0.3841, allocations: 27.92 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001316/0.3842, allocations: 68.78 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3842, allocations: 0 / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001927/0.3844, allocations: 116.2 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.3844, allocations: 5.719 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.3844, allocations: 0 / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.239e-05/0.3844, allocations: 4 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.3845, allocations: 19.98 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.3846, allocations: 3.938 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001007/0.3847, allocations: 19.83 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.874e-05/0.3847, allocations: 15.97 kB / 1.331 GB, free: 12.31 MB / 1.029 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.0001075/0.3848, allocations: 113.8 kB / 1.331 GB, free: 12.19 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.28e-05/0.3848, allocations: 11.95 kB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002994/0.3851, allocations: 142 kB / 1.331 GB, free: 12.03 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.3851, allocations: 4 kB / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.3851, allocations: 0 / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/0.3851, allocations: 11.86 kB / 1.331 GB, free: 12.01 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001915/0.3853, allocations: 164.7 kB / 1.331 GB, free: 11.81 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3853, allocations: 0 / 1.331 GB, free: 11.81 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.873e-05/0.3854, allocations: 19.98 kB / 1.331 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.3854, allocations: 4 kB / 1.331 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/0.3854, allocations: 4 kB / 1.331 GB, free: 11.78 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.3854, allocations: 0 / 1.331 GB, free: 11.78 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3854, allocations: 0 / 1.331 GB, free: 11.78 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002665/0.3857, allocations: 162.6 kB / 1.331 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.853e-05/0.3857, allocations: 19.83 kB / 1.331 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.534e-05/0.3857, allocations: 7.938 kB / 1.331 GB, free: 11.58 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.303e-05/0.3858, allocations: 4 kB / 1.331 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.296e-05/0.3859, allocations: 23.84 kB / 1.331 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.178e-05/0.3859, allocations: 11.98 kB / 1.331 GB, free: 11.54 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.378e-05/0.386, allocations: 103.2 kB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.386, allocations: 0 / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002142/0.3862, allocations: 24 kB / 1.332 GB, free: 11.41 MB / 1.029 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.0006456/0.3868, allocations: 0.7022 MB / 1.332 GB, free: 10.68 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002317/0.3871, allocations: 76.72 kB / 1.332 GB, free: 10.61 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3871, allocations: 0 / 1.332 GB, free: 10.61 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001035/0.3872, allocations: 51.92 kB / 1.332 GB, free: 10.56 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000183/0.3874, allocations: 7.938 kB / 1.332 GB, free: 10.55 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001745/0.3891, allocations: 1.456 MB / 1.334 GB, free: 9.012 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.723e-05/0.3892, allocations: 87.12 kB / 1.334 GB, free: 8.906 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.21e-05/0.3892, allocations: 8.484 kB / 1.334 GB, free: 8.898 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.239e-05/0.3893, allocations: 39.42 kB / 1.334 GB, free: 8.859 MB / 1.029 GB Notification: Performance of SimCode: time 2.8e-07/0.3893, allocations: 0 / 1.334 GB, free: 8.859 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02892/0.4182, allocations: 2.874 MB / 1.337 GB, free: 6.121 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.53, allocations: 7.641 kB / 1.337 GB, free: 6.121 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.fmu > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.csv. Warning: Get data of variable solTim.solTim from file Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.csv failed! Error: Could not read variable solTim.locTim in file Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.csv. Warning: Get data of variable solTim.locTim from file Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.46265900999424]