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.001318/0.001318, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.001511/0.001511, allocations: 219.8 kB / 22.26 MB, free: 5.121 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.525/1.525, allocations: 230.6 MB / 256 MB, free: 7.988 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.716/2.716, allocations: 476.7 MB / 0.7707 GB, free: 4.242 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.002022/0.002022, allocations: 69.11 kB / 1.117 GB, free: 40.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3502/0.3522, allocations: 170 MB / 1.283 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.003088/0.3553, allocations: 1.646 MB / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001209/0.3565, allocations: 0.6172 MB / 1.286 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.655e-05/0.3566, allocations: 3.938 kB / 1.286 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.027e-05/0.3566, allocations: 7.922 kB / 1.286 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003133/0.357, allocations: 35.72 kB / 1.286 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001803/0.3571, allocations: 43.88 kB / 1.286 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002047/0.3573, allocations: 107.6 kB / 1.286 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001388/0.3575, allocations: 31.7 kB / 1.286 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001884/0.3577, allocations: 55.78 kB / 1.286 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001392/0.3578, allocations: 51.81 kB / 1.286 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.41e-05/0.3578, allocations: 8 kB / 1.286 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.495e-05/0.3579, allocations: 12 kB / 1.286 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.474e-05/0.3579, allocations: 23.92 kB / 1.286 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.789e-05/0.358, allocations: 43.78 kB / 1.286 GB, free: 9 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001966/0.3582, allocations: 100.5 kB / 1.286 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.3582, allocations: 7.938 kB / 1.286 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.914e-06/0.3582, allocations: 0 / 1.286 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.3582, allocations: 4 kB / 1.286 GB, free: 8.891 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.0007848/0.359, allocations: 329.9 kB / 1.286 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.359, allocations: 12.03 kB / 1.286 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.767e-05/0.3591, allocations: 42.67 kB / 1.286 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001882/0.3593, allocations: 12.89 kB / 1.286 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001469/0.3594, allocations: 130.4 kB / 1.287 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/0.3595, allocations: 8.375 kB / 1.287 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.585e-05/0.3595, allocations: 4.375 kB / 1.287 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001999/0.3597, allocations: 93.77 kB / 1.287 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.3597, allocations: 0 / 1.287 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.566e-05/0.3597, allocations: 4 kB / 1.287 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.269e-06/0.3597, allocations: 0 / 1.287 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001307/0.3598, allocations: 51.91 kB / 1.287 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005637/0.3604, allocations: 315.7 kB / 1.287 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003148/0.3607, allocations: 98.66 kB / 1.287 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.644e-05/0.3608, allocations: 36.84 kB / 1.287 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.241e-05/0.3608, allocations: 4 kB / 1.287 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002717/0.3611, allocations: 95.34 kB / 1.287 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 1.513e-06/0.3611, allocations: 4 kB / 1.287 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.0003793/0.3615, allocations: 149.5 kB / 1.287 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.996e-05/0.3615, allocations: 63.34 kB / 1.287 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/0.3616, allocations: 121.8 kB / 1.288 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.3617, allocations: 25.7 kB / 1.288 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.59e-05/0.3617, allocations: 100.3 kB / 1.288 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.925e-05/0.3618, allocations: 27.89 kB / 1.288 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.332e-05/0.3618, allocations: 29.7 kB / 1.288 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.362, allocations: 326.8 kB / 1.288 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.181e-05/0.362, allocations: 23.98 kB / 1.288 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.56e-05/0.3621, allocations: 30.73 kB / 1.288 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001225/0.3622, allocations: 68.73 kB / 1.288 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3622, allocations: 0 / 1.288 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001999/0.3624, allocations: 113.6 kB / 1.288 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.3624, allocations: 8 kB / 1.288 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.3624, allocations: 0 / 1.288 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.3625, allocations: 0 / 1.288 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.3626, allocations: 19.98 kB / 1.288 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.3626, allocations: 4 kB / 1.288 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000108/0.3627, allocations: 19.83 kB / 1.288 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.268e-05/0.3627, allocations: 7.922 kB / 1.288 GB, free: 6.359 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.0001099/0.3628, allocations: 117.8 kB / 1.288 GB, free: 6.234 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.004e-05/0.3628, allocations: 7.953 kB / 1.289 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002842/0.3631, allocations: 145.5 kB / 1.289 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.3631, allocations: 4 kB / 1.289 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.3631, allocations: 4 kB / 1.289 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.3631, allocations: 7.922 kB / 1.289 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001883/0.3633, allocations: 180.7 kB / 1.289 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3633, allocations: 0 / 1.289 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.892e-05/0.3634, allocations: 19.94 kB / 1.289 GB, free: 5.824 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.3634, allocations: 0 / 1.289 GB, free: 5.824 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/0.3634, allocations: 3.984 kB / 1.289 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.3634, allocations: 3.984 kB / 1.289 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3634, allocations: 4 kB / 1.289 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002628/0.3637, allocations: 169 kB / 1.289 GB, free: 5.629 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.638e-05/0.3637, allocations: 15.84 kB / 1.289 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.308e-05/0.3637, allocations: 0 / 1.289 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.3638, allocations: 11.98 kB / 1.289 GB, free: 5.602 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.04e-05/0.3639, allocations: 15.86 kB / 1.289 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.3639, allocations: 7.984 kB / 1.289 GB, free: 5.578 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.664e-05/0.364, allocations: 100.1 kB / 1.289 GB, free: 5.48 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.364, allocations: 0 / 1.289 GB, free: 5.48 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002106/0.3642, allocations: 31.94 kB / 1.289 GB, free: 5.449 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.0005886/0.3648, allocations: 0.6944 MB / 1.29 GB, free: 4.727 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002148/0.365, allocations: 79.89 kB / 1.29 GB, free: 4.648 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.365, allocations: 0 / 1.29 GB, free: 4.648 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.708e-05/0.3651, allocations: 48.92 kB / 1.29 GB, free: 4.602 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001679/0.3653, allocations: 15.94 kB / 1.29 GB, free: 4.586 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001628/0.3669, allocations: 1.444 MB / 1.291 GB, free: 3.059 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003185/0.3672, allocations: 0.7002 MB / 1.292 GB, free: 2.332 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.29e-05/0.3673, allocations: 12.36 kB / 1.292 GB, free: 2.32 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.941e-05/0.3673, allocations: 35.42 kB / 1.292 GB, free: 2.289 MB / 0.9825 GB Notification: Performance of SimCode: time 3.2e-07/0.3673, allocations: 0 / 1.292 GB, free: 2.289 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0284/0.3957, allocations: 2.465 MB / 1.295 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.5/10.9, allocations: 11.27 kB / 1.295 GB, free: 15.95 MB / 0.9981 GB " [Timeout remaining time 288] (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: 17.68972978000056]