Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.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.001321/0.001321, 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.001449/0.001449, allocations: 220.1 kB / 22.26 MB, free: 5.117 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.462/1.462, allocations: 230.6 MB / 256 MB, free: 8.016 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.753/2.753, allocations: 476.7 MB / 0.7707 GB, free: 4.281 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.GetTimeSpanTMY3LongHeader,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",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.002044/0.002044, allocations: 68.47 kB / 1.117 GB, free: 39.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3424/0.3445, allocations: 170 MB / 1.283 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.002965/0.3474, allocations: 1.253 MB / 1.285 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001648/0.3491, allocations: 0.8103 MB / 1.285 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.596e-05/0.3491, allocations: 0 / 1.285 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.629e-05/0.3492, allocations: 4 kB / 1.285 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002625/0.3494, allocations: 15.92 kB / 1.285 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 8.753e-05/0.3495, allocations: 7.938 kB / 1.285 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.217e-05/0.3496, allocations: 11.98 kB / 1.285 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.49e-05/0.3496, allocations: 3.938 kB / 1.285 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.016e-05/0.3497, allocations: 4 kB / 1.285 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001585/0.3498, allocations: 12.55 kB / 1.285 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.34e-05/0.3498, allocations: 0 / 1.285 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.893e-05/0.3499, allocations: 7.984 kB / 1.285 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.205e-05/0.3499, allocations: 4 kB / 1.285 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.36e-05/0.35, allocations: 4 kB / 1.285 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001048/0.3501, allocations: 23.77 kB / 1.285 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.3501, allocations: 0 / 1.285 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3501, allocations: 0 / 1.285 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.96e-06/0.3501, allocations: 0 / 1.285 GB, free: 9.426 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.0003605/0.3504, allocations: 249.9 kB / 1.286 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.3505, allocations: 8.031 kB / 1.286 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.942e-05/0.3505, allocations: 106 kB / 1.286 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.015e-05/0.3506, allocations: 80.22 kB / 1.286 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001593/0.3508, allocations: 189.8 kB / 1.286 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.781e-05/0.3508, allocations: 150.9 kB / 1.286 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.014e-05/0.3509, allocations: 158.9 kB / 1.286 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.298e-05/0.351, allocations: 103.4 kB / 1.286 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.434e-05/0.351, allocations: 79.22 kB / 1.287 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.545e-05/0.3511, allocations: 154.6 kB / 1.287 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-05/0.3511, allocations: 154.5 kB / 1.287 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.772e-05/0.3512, allocations: 158.5 kB / 1.287 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003468/0.3516, allocations: 413 kB / 1.287 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001016/0.3517, allocations: 173.1 kB / 1.288 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.097e-05/0.3517, allocations: 84.12 kB / 1.288 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.86e-05/0.3517, allocations: 75.28 kB / 1.288 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.241e-05/0.3518, allocations: 109.8 kB / 1.288 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.3518, allocations: 0 / 1.288 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 8.093e-05/0.3519, allocations: 33.58 kB / 1.288 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.462e-05/0.352, allocations: 130.7 kB / 1.288 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.3521, allocations: 105.8 kB / 1.288 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.3521, allocations: 25.7 kB / 1.288 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.281e-05/0.3521, allocations: 80.14 kB / 1.288 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.684e-06/0.3521, allocations: 0 / 1.288 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.814e-05/0.3522, allocations: 13.72 kB / 1.288 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.3523, allocations: 314.9 kB / 1.289 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.253e-06/0.3523, allocations: 4 kB / 1.289 GB, free: 6.145 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.477e-05/0.3523, allocations: 4 kB / 1.289 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.618e-05/0.3524, allocations: 75.28 kB / 1.289 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-05/0.3524, allocations: 79.22 kB / 1.289 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.562e-05/0.3525, allocations: 37.62 kB / 1.289 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.496e-05/0.3525, allocations: 83.22 kB / 1.289 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.85e-05/0.3525, allocations: 79.28 kB / 1.289 GB, free: 5.785 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.085e-05/0.3526, allocations: 150.6 kB / 1.289 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.785e-05/0.3527, allocations: 83.25 kB / 1.289 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-05/0.3527, allocations: 154.5 kB / 1.289 GB, free: 5.402 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001658/0.3529, allocations: 87.22 kB / 1.289 GB, free: 5.316 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.642e-05/0.3529, allocations: 75.28 kB / 1.289 GB, free: 5.242 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 (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 prepare postOptimizeDAE: time 0.0001717/0.3531, allocations: 264.4 kB / 1.29 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.334e-05/0.3532, allocations: 108.9 kB / 1.29 GB, free: 4.859 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.571e-05/0.3532, allocations: 108.1 kB / 1.29 GB, free: 4.75 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.12e-05/0.3533, allocations: 176.3 kB / 1.29 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.53e-05/0.3534, allocations: 192.2 kB / 1.29 GB, free: 4.375 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.444e-05/0.3535, allocations: 176.5 kB / 1.29 GB, free: 4.195 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002649/0.3537, allocations: 372.3 kB / 1.291 GB, free: 3.781 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-05/0.3538, allocations: 117 kB / 1.291 GB, free: 3.66 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.913e-05/0.3538, allocations: 105 kB / 1.291 GB, free: 3.551 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.276e-05/0.3539, allocations: 188.1 kB / 1.291 GB, free: 3.359 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-05/0.354, allocations: 180.3 kB / 1.291 GB, free: 3.176 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001525/0.3542, allocations: 180.2 kB / 1.291 GB, free: 2.992 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.37e-05/0.3543, allocations: 176.3 kB / 1.292 GB, free: 2.812 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001801/0.3544, allocations: 311.8 kB / 1.292 GB, free: 2.484 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.452e-05/0.3545, allocations: 108.9 kB / 1.292 GB, free: 2.371 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.377e-05/0.3546, allocations: 188.1 kB / 1.292 GB, free: 2.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.3547, allocations: 105 kB / 1.292 GB, free: 2.07 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.079e-05/0.3548, allocations: 180.3 kB / 1.292 GB, free: 1.887 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.717e-05/0.3548, allocations: 108.9 kB / 1.293 GB, free: 1.773 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.249e-05/0.3549, allocations: 83.27 kB / 1.293 GB, free: 1.691 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3549, allocations: 0 / 1.293 GB, free: 1.691 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003018/0.3552, allocations: 0 / 1.293 GB, free: 1.691 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.0006802/0.3559, allocations: 0.8203 MB / 1.293 GB, free: 0.8438 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 4.844e-05/0.3559, allocations: 3.938 kB / 1.293 GB, free: 0.8398 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3559, allocations: 0 / 1.293 GB, free: 0.8398 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.353e-06/0.3559, allocations: 0 / 1.293 GB, free: 0.8398 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004084/0.3563, allocations: 463.7 kB / 1.294 GB, free: 392 kB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001381/0.3577, allocations: 1.572 MB / 1.295 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003076/0.358, allocations: 0.6729 MB / 1.296 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.953e-05/0.3581, allocations: 0 / 1.296 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.481e-05/0.3581, allocations: 11.44 kB / 1.296 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of SimCode: time 5.61e-07/0.3581, allocations: 3.938 kB / 1.296 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02964/0.3877, allocations: 1.273 MB / 1.297 GB, free: 12.92 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.63/11.01, allocations: 9.359 kB / 1.297 GB, free: 12.91 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.fmu > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.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.570665064034984]