Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.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.00188/0.00188, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001497/0.001497, allocations: 211.2 kB / 22.25 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.412/1.412, allocations: 230.6 MB / 256 MB, free: 7.984 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.726/2.726, allocations: 476.7 MB / 0.7707 GB, free: 4.258 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.GetTimeSpanTMY3,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",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.00203/0.00203, allocations: 65.28 kB / 1.117 GB, free: 40.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3443/0.3463, allocations: 170 MB / 1.283 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.002714/0.349, allocations: 1.278 MB / 1.285 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00145/0.3505, allocations: 0.8181 MB / 1.285 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.292e-05/0.3505, allocations: 0 / 1.285 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.259e-05/0.3506, allocations: 7.875 kB / 1.285 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002847/0.3508, allocations: 7.984 kB / 1.285 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002101/0.3511, allocations: 57.84 kB / 1.286 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.503e-05/0.3512, allocations: 19.92 kB / 1.286 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.476e-05/0.3512, allocations: 0 / 1.286 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.081e-05/0.3513, allocations: 19.91 kB / 1.286 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001437/0.3514, allocations: 12 kB / 1.286 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.3514, allocations: 4 kB / 1.286 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.871e-05/0.3515, allocations: 7.984 kB / 1.286 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.21e-05/0.3515, allocations: 11.92 kB / 1.286 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.937e-05/0.3516, allocations: 7.938 kB / 1.286 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001065/0.3517, allocations: 27.7 kB / 1.286 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3517, allocations: 0 / 1.286 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3517, allocations: 0 / 1.286 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.3517, allocations: 0 / 1.286 GB, free: 9.395 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003849/0.3521, allocations: 258.5 kB / 1.286 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.3521, allocations: 8.031 kB / 1.286 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.078e-05/0.3522, allocations: 110 kB / 1.286 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.672e-05/0.3523, allocations: 80.22 kB / 1.286 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001573/0.3524, allocations: 185.8 kB / 1.286 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.135e-05/0.3525, allocations: 154.9 kB / 1.286 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.269e-05/0.3526, allocations: 154.9 kB / 1.287 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.134e-05/0.3527, allocations: 103.4 kB / 1.287 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.065e-05/0.3527, allocations: 87.16 kB / 1.287 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.598e-05/0.3528, allocations: 150.6 kB / 1.287 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.587e-05/0.3529, allocations: 154.6 kB / 1.287 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.93e-05/0.3529, allocations: 150.6 kB / 1.287 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003828/0.3533, allocations: 429 kB / 1.288 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001192/0.3534, allocations: 165.2 kB / 1.288 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.926e-05/0.3535, allocations: 92.08 kB / 1.288 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 5.188e-05/0.3536, allocations: 75.28 kB / 1.288 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.271e-05/0.3536, allocations: 105.8 kB / 1.288 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 3.467e-06/0.3536, allocations: 4 kB / 1.288 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 8.692e-05/0.3537, allocations: 29.64 kB / 1.288 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.426e-05/0.3538, allocations: 134.7 kB / 1.288 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001406/0.3539, allocations: 105.8 kB / 1.288 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.697e-05/0.354, allocations: 25.7 kB / 1.288 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.05e-05/0.354, allocations: 80.14 kB / 1.288 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.944e-06/0.354, allocations: 0 / 1.288 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.098e-05/0.3541, allocations: 21.69 kB / 1.288 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001582/0.3542, allocations: 326.7 kB / 1.289 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.843e-05/0.3542, allocations: 7.938 kB / 1.289 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.975e-05/0.3543, allocations: 11.98 kB / 1.289 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.408e-05/0.3543, allocations: 12.86 kB / 1.289 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3543, allocations: 0 / 1.289 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001213/0.3544, allocations: 41.69 kB / 1.289 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.3545, allocations: 11.94 kB / 1.289 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.3545, allocations: 0 / 1.289 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.3545, allocations: 4.125 kB / 1.289 GB, free: 5.98 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.62e-07/0.3545, allocations: 0 / 1.289 GB, free: 5.98 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.3545, allocations: 0 / 1.289 GB, free: 5.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.112e-05/0.3546, allocations: 4 kB / 1.289 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.3546, allocations: 3.984 kB / 1.289 GB, free: 5.973 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 1 * 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.0001409/0.3547, allocations: 189.1 kB / 1.289 GB, free: 5.777 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.284e-05/0.3548, allocations: 108.9 kB / 1.289 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.257e-05/0.3549, allocations: 104.5 kB / 1.289 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.844e-05/0.355, allocations: 188.2 kB / 1.289 GB, free: 5.363 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.454e-05/0.355, allocations: 184.3 kB / 1.289 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.385e-05/0.3551, allocations: 180.2 kB / 1.29 GB, free: 4.992 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002875/0.3554, allocations: 376.3 kB / 1.29 GB, free: 4.574 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.048e-05/0.3555, allocations: 101.2 kB / 1.29 GB, free: 4.469 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.389e-05/0.3555, allocations: 112.9 kB / 1.29 GB, free: 4.352 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.831e-05/0.3556, allocations: 184.2 kB / 1.29 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.889e-05/0.3557, allocations: 180.2 kB / 1.291 GB, free: 3.98 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001044/0.3558, allocations: 180.2 kB / 1.291 GB, free: 3.797 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.631e-05/0.3559, allocations: 176.5 kB / 1.291 GB, free: 3.617 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001849/0.3561, allocations: 315.8 kB / 1.291 GB, free: 3.285 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.765e-05/0.3562, allocations: 108.9 kB / 1.291 GB, free: 3.172 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/0.3563, allocations: 188.2 kB / 1.292 GB, free: 2.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.3564, allocations: 101 kB / 1.292 GB, free: 2.875 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001128/0.3565, allocations: 184.2 kB / 1.292 GB, free: 2.688 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.827e-05/0.3566, allocations: 105 kB / 1.292 GB, free: 2.578 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.895e-05/0.3566, allocations: 87.27 kB / 1.292 GB, free: 2.492 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3566, allocations: 0 / 1.292 GB, free: 2.492 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.00026/0.3569, allocations: 4 kB / 1.292 GB, free: 2.488 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0007317/0.3576, allocations: 0.8293 MB / 1.293 GB, free: 1.633 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.639e-05/0.3577, allocations: 11.98 kB / 1.293 GB, free: 1.621 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3577, allocations: 0 / 1.293 GB, free: 1.621 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.403e-06/0.3577, allocations: 0 / 1.293 GB, free: 1.621 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004369/0.3582, allocations: 469.9 kB / 1.293 GB, free: 1.16 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001242/0.3594, allocations: 1.289 MB / 1.294 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003332/0.3597, allocations: 0.6729 MB / 1.295 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.005e-05/0.3597, allocations: 4 kB / 1.295 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.576e-05/0.3598, allocations: 7.438 kB / 1.295 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of SimCode: time 3.01e-07/0.3598, allocations: 0 / 1.295 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0382/0.398, allocations: 1.35 MB / 1.296 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.49/10.89, allocations: 13.06 kB / 1.296 GB, free: 13.87 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.fmu > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.715598290000344]