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.001777/0.001777, allocations: 103.8 kB / 16.45 MB, free: 6.449 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.002028/0.002028, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.483/1.483, allocations: 230.6 MB / 252.8 MB, free: 9.145 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.17/3.17, allocations: 0.49 GB / 0.7916 GB, free: 33.54 MB / 0.6231 GB " [Timeout remaining time 176] 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.002057/0.002057, allocations: 66.64 kB / 1.149 GB, free: 26.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3615/0.3635, allocations: 176.1 MB / 1.321 GB, free: 3.383 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.002625/0.3661, allocations: 1.254 MB / 1.322 GB, free: 2.117 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001232/0.3674, allocations: 0.7275 MB / 1.323 GB, free: 1.387 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.975e-05/0.3674, allocations: 0 / 1.323 GB, free: 1.387 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.354e-05/0.3674, allocations: 0 / 1.323 GB, free: 1.387 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002153/0.3676, allocations: 11.94 kB / 1.323 GB, free: 1.375 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 8.021e-05/0.3677, allocations: 11.97 kB / 1.323 GB, free: 1.363 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.41e-05/0.3678, allocations: 4 kB / 1.323 GB, free: 1.359 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 3.936e-05/0.3678, allocations: 0 / 1.323 GB, free: 1.359 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.513e-05/0.3679, allocations: 7.938 kB / 1.323 GB, free: 1.352 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001457/0.368, allocations: 9 kB / 1.323 GB, free: 1.344 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.302e-05/0.368, allocations: 0 / 1.323 GB, free: 1.344 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 5.203e-05/0.3681, allocations: 15.98 kB / 1.323 GB, free: 1.328 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 5.23e-05/0.3681, allocations: 7.938 kB / 1.323 GB, free: 1.32 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.729e-05/0.3681, allocations: 3.984 kB / 1.323 GB, free: 1.316 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001047/0.3682, allocations: 16.2 kB / 1.323 GB, free: 1.301 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3683, allocations: 0 / 1.323 GB, free: 1.301 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.874e-06/0.3683, allocations: 0 / 1.323 GB, free: 1.301 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.962e-06/0.3683, allocations: 3.938 kB / 1.323 GB, free: 1.297 MB / 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.0003987/0.3687, allocations: 327.5 kB / 1.323 GB, free: 0.9258 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.3687, allocations: 11.98 kB / 1.323 GB, free: 0.9141 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.845e-05/0.3688, allocations: 110 kB / 1.323 GB, free: 0.7969 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.646e-05/0.3689, allocations: 76.22 kB / 1.323 GB, free: 0.7227 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002002/0.3691, allocations: 239.7 kB / 1.324 GB, free: 460 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.932e-05/0.3691, allocations: 154.9 kB / 1.324 GB, free: 304 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.413e-05/0.3692, allocations: 162.9 kB / 1.324 GB, free: 140 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.559e-05/0.3693, allocations: 105.5 kB / 1.324 GB, free: 28 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.351e-05/0.3693, allocations: 83.22 kB / 1.324 GB, free: 15.95 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.71e-05/0.3694, allocations: 154.6 kB / 1.324 GB, free: 15.79 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.974e-05/0.3695, allocations: 150.6 kB / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.051e-05/0.3695, allocations: 150.6 kB / 1.324 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003412/0.3699, allocations: 445.9 kB / 1.325 GB, free: 15.01 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001051/0.37, allocations: 177.1 kB / 1.325 GB, free: 14.83 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.427e-05/0.37, allocations: 80.14 kB / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.461e-05/0.37, allocations: 75.28 kB / 1.325 GB, free: 14.67 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.857e-05/0.3701, allocations: 105.8 kB / 1.325 GB, free: 14.56 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 2.755e-06/0.3701, allocations: 3.984 kB / 1.325 GB, free: 14.55 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.844e-05/0.3702, allocations: 41.58 kB / 1.325 GB, free: 14.51 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.959e-05/0.3703, allocations: 126.7 kB / 1.325 GB, free: 14.37 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/0.3704, allocations: 101.8 kB / 1.326 GB, free: 14.26 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/0.3704, allocations: 25.7 kB / 1.326 GB, free: 14.23 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.227e-05/0.3705, allocations: 80.14 kB / 1.326 GB, free: 14.15 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.394e-06/0.3705, allocations: 4 kB / 1.326 GB, free: 14.14 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.368e-05/0.3705, allocations: 13.72 kB / 1.326 GB, free: 14.12 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.3707, allocations: 314.8 kB / 1.326 GB, free: 13.81 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.58e-06/0.3707, allocations: 0 / 1.326 GB, free: 13.81 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.178e-05/0.3707, allocations: 4 kB / 1.326 GB, free: 13.8 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.446e-05/0.3707, allocations: 75.28 kB / 1.326 GB, free: 13.73 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-05/0.3708, allocations: 75.28 kB / 1.326 GB, free: 13.66 MB / 1.029 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.473e-05/0.3708, allocations: 37.62 kB / 1.326 GB, free: 13.61 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.746e-05/0.3709, allocations: 83.22 kB / 1.326 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.93e-05/0.3709, allocations: 75.28 kB / 1.326 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00014/0.3711, allocations: 158.6 kB / 1.326 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.432e-05/0.3711, allocations: 83.22 kB / 1.327 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-05/0.3712, allocations: 154.6 kB / 1.327 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000143/0.3713, allocations: 79.22 kB / 1.327 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.791e-05/0.3714, allocations: 79.28 kB / 1.327 GB, free: 12.91 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.0001454/0.3715, allocations: 264.4 kB / 1.327 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.241e-05/0.3716, allocations: 105.1 kB / 1.327 GB, free: 12.53 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.554e-05/0.3716, allocations: 116 kB / 1.327 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.063e-05/0.3717, allocations: 184.2 kB / 1.328 GB, free: 12.22 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.417e-05/0.3718, allocations: 188.1 kB / 1.328 GB, free: 12.03 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.468e-05/0.3719, allocations: 176.3 kB / 1.328 GB, free: 11.85 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002807/0.3722, allocations: 405.2 kB / 1.328 GB, free: 11.4 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.924e-05/0.3722, allocations: 108.9 kB / 1.328 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.045e-05/0.3723, allocations: 101 kB / 1.328 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001011/0.3724, allocations: 188.1 kB / 1.329 GB, free: 10.99 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-05/0.3725, allocations: 176.3 kB / 1.329 GB, free: 10.81 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.614e-05/0.3725, allocations: 176.3 kB / 1.329 GB, free: 10.63 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.748e-05/0.3726, allocations: 188.2 kB / 1.329 GB, free: 10.44 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001996/0.3728, allocations: 311.7 kB / 1.329 GB, free: 10.11 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001088/0.3729, allocations: 182.1 kB / 1.33 GB, free: 9.906 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/0.3731, allocations: 196.1 kB / 1.33 GB, free: 9.707 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.39e-05/0.3731, allocations: 105 kB / 1.33 GB, free: 9.598 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.272e-05/0.3732, allocations: 180.3 kB / 1.33 GB, free: 9.414 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.105e-05/0.3733, allocations: 104.9 kB / 1.33 GB, free: 9.305 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.172e-05/0.3734, allocations: 83.27 kB / 1.33 GB, free: 9.223 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3734, allocations: 0 / 1.33 GB, free: 9.223 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002904/0.3737, allocations: 0 / 1.33 GB, free: 9.223 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.0007333/0.3744, allocations: 0.8225 MB / 1.331 GB, free: 8.371 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 5.6e-05/0.3744, allocations: 7.938 kB / 1.331 GB, free: 8.363 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3744, allocations: 0 / 1.331 GB, free: 8.363 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.372e-06/0.3744, allocations: 0 / 1.331 GB, free: 8.363 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004/0.3748, allocations: 467.7 kB / 1.332 GB, free: 7.902 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001431/0.3763, allocations: 1.562 MB / 1.333 GB, free: 6.266 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003196/0.3766, allocations: 0.669 MB / 1.334 GB, free: 5.57 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.122e-05/0.3766, allocations: 4 kB / 1.334 GB, free: 5.566 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.127e-05/0.3766, allocations: 7.438 kB / 1.334 GB, free: 5.559 MB / 1.029 GB Notification: Performance of SimCode: time 5.71e-07/0.3766, allocations: 32 / 1.334 GB, free: 5.559 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02516/0.4018, allocations: 1.224 MB / 1.335 GB, free: 4.523 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.774/8.176, allocations: 8.312 kB / 1.335 GB, free: 4.516 MB / 1.029 GB " [Timeout remaining time 292] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/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: 14.752876151818782]