Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001842/0.001842, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002326/0.002326, allocations: 216.9 kB / 22.25 MB, free: 4.855 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.443/1.443, allocations: 230.6 MB / 256 MB, free: 7.785 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.088/3.088, allocations: 0.4892 GB / 0.7943 GB, free: 35.5 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.GetTimeSpanTMY3LongHeader,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="Buildings_12_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.002017/0.002017, allocations: 62.53 kB / 1.153 GB, free: 25.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3553/0.3573, allocations: 176.1 MB / 1.325 GB, free: 2.363 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.003016/0.3603, allocations: 1.275 MB / 1.326 GB, free: 1.082 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001443/0.3617, allocations: 0.8028 MB / 1.327 GB, free: 284 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.166e-05/0.3618, allocations: 0 / 1.327 GB, free: 284 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.66e-05/0.3618, allocations: 0 / 1.327 GB, free: 284 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002707/0.3621, allocations: 15.92 kB / 1.327 GB, free: 268 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 9.079e-05/0.3622, allocations: 4 kB / 1.327 GB, free: 264 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.179e-05/0.3622, allocations: 11.92 kB / 1.327 GB, free: 252 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.375e-05/0.3623, allocations: 0 / 1.327 GB, free: 252 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.38e-05/0.3623, allocations: 4 kB / 1.327 GB, free: 248 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001431/0.3625, allocations: 11.98 kB / 1.327 GB, free: 236 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.497e-05/0.3625, allocations: 0 / 1.327 GB, free: 236 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 5.417e-05/0.3625, allocations: 11.98 kB / 1.327 GB, free: 224 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.965e-05/0.3626, allocations: 3.938 kB / 1.327 GB, free: 220 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.363e-05/0.3626, allocations: 4 kB / 1.327 GB, free: 216 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001005/0.3627, allocations: 12.2 kB / 1.327 GB, free: 204 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.3627, allocations: 3.938 kB / 1.327 GB, free: 200 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.723e-06/0.3627, allocations: 0 / 1.327 GB, free: 200 kB / 1.014 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.3627, allocations: 0 / 1.327 GB, free: 200 kB / 1.014 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.0003977/0.3631, allocations: 250.4 kB / 1.327 GB, free: 15.92 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.3632, allocations: 8.031 kB / 1.327 GB, free: 15.91 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.463e-05/0.3632, allocations: 114 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.478e-05/0.3633, allocations: 76.22 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001802/0.3635, allocations: 193.7 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.674e-05/0.3636, allocations: 154.9 kB / 1.328 GB, free: 15.35 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.07e-05/0.3636, allocations: 154.9 kB / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.464e-05/0.3637, allocations: 105.5 kB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.091e-05/0.3638, allocations: 79.22 kB / 1.328 GB, free: 15.01 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.766e-05/0.3638, allocations: 150.6 kB / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.36e-05/0.3639, allocations: 150.6 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.367e-05/0.364, allocations: 158.5 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003443/0.3643, allocations: 425 kB / 1.329 GB, free: 14.1 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000111/0.3644, allocations: 169.2 kB / 1.329 GB, free: 13.92 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.795e-05/0.3645, allocations: 84.14 kB / 1.329 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.958e-05/0.3645, allocations: 75.28 kB / 1.329 GB, free: 13.76 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.909e-05/0.3646, allocations: 105.8 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.3646, allocations: 4 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 9.01e-05/0.3647, allocations: 37.58 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.316e-05/0.3648, allocations: 126.7 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.3649, allocations: 101.8 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.721e-05/0.3649, allocations: 25.7 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.872e-05/0.3649, allocations: 84.14 kB / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.833e-06/0.365, allocations: 4 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.886e-05/0.365, allocations: 13.72 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.3651, allocations: 310.8 kB / 1.33 GB, free: 12.9 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.51e-06/0.3651, allocations: 0 / 1.33 GB, free: 12.9 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.208e-05/0.3652, allocations: 25.7 kB / 1.33 GB, free: 12.87 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.958e-05/0.3652, allocations: 79.28 kB / 1.33 GB, free: 12.79 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.94e-05/0.3652, allocations: 75.28 kB / 1.33 GB, free: 12.72 MB / 1.029 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.51e-05/0.3653, allocations: 33.62 kB / 1.33 GB, free: 12.68 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.797e-05/0.3654, allocations: 87.22 kB / 1.33 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.091e-05/0.3654, allocations: 75.28 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.716e-05/0.3655, allocations: 158.6 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.855e-05/0.3655, allocations: 83.22 kB / 1.331 GB, free: 12.28 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-05/0.3656, allocations: 150.6 kB / 1.331 GB, free: 12.13 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001368/0.3657, allocations: 79.22 kB / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.899e-05/0.3658, allocations: 83.27 kB / 1.331 GB, free: 11.97 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: 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.000142/0.3659, allocations: 256.9 kB / 1.331 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.091e-05/0.366, allocations: 121 kB / 1.331 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.3e-05/0.366, allocations: 104.1 kB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.211e-05/0.3661, allocations: 184.3 kB / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.982e-05/0.3662, allocations: 188.1 kB / 1.332 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.561e-05/0.3663, allocations: 180.3 kB / 1.332 GB, free: 10.91 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002573/0.3665, allocations: 380.2 kB / 1.332 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.604e-05/0.3666, allocations: 105 kB / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.928e-05/0.3666, allocations: 105 kB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.714e-05/0.3667, allocations: 184.1 kB / 1.333 GB, free: 10.08 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.741e-05/0.3668, allocations: 180.3 kB / 1.333 GB, free: 9.895 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.523e-05/0.3669, allocations: 188.2 kB / 1.333 GB, free: 9.703 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.811e-05/0.367, allocations: 176.3 kB / 1.333 GB, free: 9.523 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001655/0.3671, allocations: 303.8 kB / 1.334 GB, free: 9.203 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.693e-05/0.3672, allocations: 116.9 kB / 1.334 GB, free: 9.082 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.28e-05/0.3673, allocations: 188.1 kB / 1.334 GB, free: 8.891 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.125e-05/0.3674, allocations: 109 kB / 1.334 GB, free: 8.777 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.223e-05/0.3675, allocations: 176.3 kB / 1.334 GB, free: 8.598 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.631e-05/0.3675, allocations: 104.9 kB / 1.334 GB, free: 8.488 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.255e-05/0.3676, allocations: 87.27 kB / 1.334 GB, free: 8.402 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3676, allocations: 0 / 1.334 GB, free: 8.402 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002685/0.3678, allocations: 4 kB / 1.334 GB, free: 8.398 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: 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.0006823/0.3685, allocations: 0.8165 MB / 1.335 GB, free: 7.551 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 5.326e-05/0.3686, allocations: 11.94 kB / 1.335 GB, free: 7.539 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3686, allocations: 0 / 1.335 GB, free: 7.539 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.917e-06/0.3686, allocations: 4 kB / 1.335 GB, free: 7.535 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004047/0.369, allocations: 457.7 kB / 1.336 GB, free: 7.086 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001543/0.3705, allocations: 1.556 MB / 1.337 GB, free: 5.453 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.451e-05/0.3706, allocations: 59.34 kB / 1.337 GB, free: 5.375 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.846e-05/0.3706, allocations: 0 / 1.337 GB, free: 5.375 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.371e-05/0.3706, allocations: 11.44 kB / 1.337 GB, free: 5.363 MB / 1.029 GB Notification: Performance of SimCode: time 4.21e-07/0.3706, allocations: 0 / 1.337 GB, free: 5.363 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0309/0.4015, allocations: 1.695 MB / 1.339 GB, free: 3.84 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.52, allocations: 3.75 kB / 1.339 GB, free: 3.84 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.fmu > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.147046896163374]